Please use -dEPSCrop doing eps conversion

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Please use -dEPSCrop doing eps conversion

Post by broucaries »

converting http://launchpadlibrarian.net/2475309/s ... zoomed.eps result in cropped file please use -dEPScrop gs option. It work for converting to png but not to pdf.

Thank you
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by magick »

See http://www.imagemagick.org/script/formats.php:
  • PS RW Adobe PostScript file Requires Ghostscript to read. To force ImageMagick to respect the crop box, use -define (e.g. -define ps:use-cropbox=true).
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by broucaries »

For sure but pdf and png conversion give different result.

Regards

bastien
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by broucaries »

Any news ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by magick »

Add -define ps:use-cropbox=true -taint to your command line to force -dEPSCrop.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by broucaries »

I know but I do not understand why png and pdf output give different results by defaults.

Do you need the two ouptut ?

Regards

Bastien
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by broucaries »

Any news ?

Bastien
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by broucaries »

Any news of this bug (the difference between png and pdf conversion).

Regards

bastien
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Please use -dEPSCrop doing eps conversion

Post by magick »

The conversion to PNG and PDF looks fine for us. We're using ImageMagick 6.5.8-7 and Ghostscript 8.70. Post a URL to your PNG and PDF images and describe the differences and we'll investigate further.
Post Reply