Search found 64 matches
- 2017-12-01T09:17:56-07:00
- Forum: Users
- Topic: Programmatically distinguish background gray
- Replies: 4
- Views: 3723
Programmatically distinguish background gray
I'm using IM to clean up some scanned grayscale pages from a text. Right now I clean up the background when there's some poor scanning artifacts like shadows near a book spine by doing a contrast stretch of 5%,90%. This works well _except_ when the page doesn't really need the cleanup. Then the stre...
- 2017-11-30T17:20:54-07:00
- Forum: Users
- Topic: JBIG2DECODE in pdf
- Replies: 3
- Views: 7178
Re: JBIG2DECODE in pdf
I'm trying to do this same thing. identify says "identify: no decode delegate for this image format `JBG2' @ error/constitute.c/ReadImage/509."
- 2017-10-03T14:04:02-07:00
- Forum: Users
- Topic: chop with percentage affects other dimension
- Replies: 3
- Views: 4675
Re: chop with percentage affects other dimension
What version of IM? Please ALWAYS state the version of IM. I can't find the thread, but a change was made recently, so that when a "%" was used in geometry, any result of zero was changed to one. This was to prevent "-resize 1%" etc from failing by trying to create an image of z...
- 2017-10-03T11:19:52-07:00
- Forum: Users
- Topic: chop with percentage affects other dimension
- Replies: 3
- Views: 4675
chop with percentage affects other dimension
If I use -chop with a percentage in only one dimension, the second dimension loses a pixel too. For example (and here I'm chopping the width, but the results are the same if I use the height): convert -format "%w x %h" rose: info: yields: 70 x 46 convert -format "%w x %h" -gravit...