Search found 27 matches

by ozbigben
2017-08-02T09:13:23-07:00
Forum: Users
Topic: Processing indexed colour (grey)
Replies: 10
Views: 11126

Processing indexed colour (grey)

Hi All I'm trying to do some grading of scans of microfilm (350,000+). The scanner has output indexed colour (greyscale) scans. My problem is that some of the images are very dark(1%) and about 20% could use some degree of lightening. I've worked through grouping the images by appearance using Image...
by ozbigben
2014-12-04T22:22:24-07:00
Forum: Users
Topic: Autocropping left/right margins only
Replies: 3
Views: 5540

Re: Autocropping left/right margins only

Added a couple of minor edits. In our project we are leaving in blank pages to preserve the pagination for printing. To avoid problems with calculating the crop region of an empty page I added a single black pixel to the centre of the image. While it didn't seem to cause any problems, I also ended u...
by ozbigben
2014-12-01T14:15:37-07:00
Forum: Users
Topic: Autocropping left/right margins only
Replies: 3
Views: 5540

Re: Autocropping left/right margins only

OK, thanks
by ozbigben
2014-12-01T05:38:59-07:00
Forum: Users
Topic: Autocropping left/right margins only
Replies: 3
Views: 5540

Autocropping left/right margins only

Hi All Did a couple of quick searches and didn't find much so I figured I'd post this, if only for my own reference later. I had a need for centering the text block of pages horizontally only and then padding out the image to a fixed size. The last bit is handled with a basic -extent command with th...
by ozbigben
2012-08-07T19:35:21-07:00
Forum: Users
Topic: exception: Convert tiled tif to pyramidal tiled tif
Replies: 6
Views: 12790

Re: exception: Convert tiled tif to pyramidal tiled tif

I am no expert on windows, but I think windows needs to have double quotes rather than single quotes when needed It doesn't seem to need quotes at all in this instance. I'm converting images for use with IIP Image server ( http://iipimage.sourceforge.net/documentation/images/ ) and am using the fol...
by ozbigben
2012-08-07T05:39:27-07:00
Forum: Users
Topic: exception: Convert tiled tif to pyramidal tiled tif
Replies: 6
Views: 12790

Re: exception: Convert tiled tif to pyramidal tiled tif

I know this is old, but I was getting the same error so for completeness I thought I'd post an answer. The single quotes in the middle of the dll's filename in the error message looked odd so I guessed it was another of those Windows/DOS quirks. Removing the quotes from the output declaration works....
by ozbigben
2012-04-24T04:29:53-07:00
Forum: Bugs
Topic: Resize large images (>10000 pixels)
Replies: 4
Views: 11828

Re: Resize large images (>10000 pixels)

Well now I'm confused... but happy to report that it must have been a temporary system issue.. albeit a freaking weird one. Tested on Win7, no problem. Ran the same test on the original computer via remote desktop and it worked as expected. Ran part of the original batch file and it's behaving. I'll...
by ozbigben
2012-04-24T01:03:41-07:00
Forum: Bugs
Topic: Resize large images (>10000 pixels)
Replies: 4
Views: 11828

Re: Resize large images (>10000 pixels)

In what way is it wrong? The final image should fit within 512x512px. Both source images have all dimensions bigger than this, and also have the same proportions. The output image in both cases should have been the same size but the one derived from the larger image has a height of 512px (wrong) wh...
by ozbigben
2012-04-23T18:02:58-07:00
Forum: Bugs
Topic: Resize large images (>10000 pixels)
Replies: 4
Views: 11828

Resize large images (>10000 pixels)

ImageMagick-6.7.6-Q16 Win32, XP SP3 I found an error in resizing large images when one of the image dimensions is >10,000 pixels. convert in.tif -resize 512x512^> out.jpg Given an input image of 10192x7230px results in an image of 722x512px. Resize the input image to 1019x723px results and you get a...
by ozbigben
2012-03-25T06:37:27-07:00
Forum: Digital Image Processing
Topic: Yet more autocropping (removing dark borders)
Replies: 1
Views: 13482

Re: Yet more autocropping (removing dark borders)

One last test got an improvement. Apart from tweaking the threshold, I added a "-morphology close" with the idea of making the text in the margin of the frames become larger particles that wouldn't be entirely removed by the following smooth. FOR /F "tokens=*" %%i in ('convert %1...
by ozbigben
2012-03-25T05:00:35-07:00
Forum: Digital Image Processing
Topic: Yet more autocropping (removing dark borders)
Replies: 1
Views: 13482

Yet more autocropping (removing dark borders)

Hi All Having just finished a large project involving cropping and adjusting levels for 9000 images with Photoshop actions I decided it was worth looking at IM while the pain points were still fresh in our minds to see if there was a more efficient way. For now, I'm restricting things to WinXP/7 and...
by ozbigben
2012-03-25T02:25:09-07:00
Forum: Users
Topic: image magick error on convert 200mb tif file
Replies: 7
Views: 19153

Re: image magick error on convert 200mb tif file

Found this thread while debugging my own scripts... The tags in question relate to various lens tags from digital cameras. Had a quick look at the metadata in an original and processed file and to be fair, a substantial set of tags were preserved. If some of the other tags are important to you, you ...