Search found 3 matches
- 2017-04-03T10:00:41-07:00
- Forum: Bugs
- Topic: -trim only trims horizontally when density is odd
- Replies: 6
- Views: 8499
Re: -trim only trims horizontally when density is odd
I have no problem using -fuzz 1% with -density 300. The density should have no bearing on the trim. I am using IM 6.9.8.3 Q16 Mac OSX. Perhaps it has to do with your version of Ghostscript. I am using GS 9.19 As indicated in the description, the density does seem to have a (erroneous?) bearing on ...
- 2017-04-03T06:51:41-07:00
- Forum: Bugs
- Topic: -trim only trims horizontally when density is odd
- Replies: 6
- Views: 8499
Re: -trim only trims horizontally when density is odd
Add -fuzz 5% -trim to your command-line. Does that help? It does help, but it will take at least 47% of fuzz to make a difference in the given case. Is this expected? I’m surprised by this since the underlying PDF is the same in both cases, and setting density to even values never requires any fuzz ...
- 2017-04-03T05:32:17-07:00
- Forum: Bugs
- Topic: -trim only trims horizontally when density is odd
- Replies: 6
- Views: 8499
-trim only trims horizontally when density is odd
I have noticed that running… convert -density $dens file.pdf -trim output.png …will only crop the image horizontally when the value of dens is odd. When an even value is used, the image in cropped along both axes. E.g., running these commands on this PDF document yields density 105; trimmed only hor ...