convert -trim enlarges image width?
Posted: 2011-01-13T01:07:11-07:00
Hi all,
I have a postscript file with an image with a width of 5cm against a colour background. To extract the image and convert it to PNG I use:
convert -density 400 -trim p.ps p.png
However the width of the resultant p.png image is probably 15cm across (I view it with eye-of-gnome at 100% scale). Is there a way to create a PNG which preserves the original image size?.
Thanks,
Mike.
I have a postscript file with an image with a width of 5cm against a colour background. To extract the image and convert it to PNG I use:
convert -density 400 -trim p.ps p.png
However the width of the resultant p.png image is probably 15cm across (I view it with eye-of-gnome at 100% scale). Is there a way to create a PNG which preserves the original image size?.
Thanks,
Mike.