Always use "+repage" after any 'crop' like operation.
Unless you actually need to preserve that info.
Search found 2 matches
- 2016-10-11T08:20:39-07:00
- Forum: Bugs
- Topic: Original dimensions are remembered when cropping => issues with PDF output
- Replies: 3
- Views: 5138
Re: Original dimensions are remembered when cropping => issues with PDF output
Thanks ! I can't understand how I could have missed this information from the documentation :

- 2016-10-11T06:21:11-07:00
- Forum: Bugs
- Topic: Original dimensions are remembered when cropping => issues with PDF output
- Replies: 3
- Views: 5138
Original dimensions are remembered when cropping => issues with PDF output
Hi,
Maybe it is the expected behaviour, but considering a 200x200 PNG image with a 100 px border — that makes it 400x400.
We have :
$ convert input.png -trim output.png
$ identify output.png
output.png PNG 200x200 400x400+100+100 8-bit sRGB 12.9KB 0.000u 0:00.000
How comes it isn't 200x200 ...
Maybe it is the expected behaviour, but considering a 200x200 PNG image with a 100 px border — that makes it 400x400.
We have :
$ convert input.png -trim output.png
$ identify output.png
output.png PNG 200x200 400x400+100+100 8-bit sRGB 12.9KB 0.000u 0:00.000
How comes it isn't 200x200 ...