On Tue, 2009-09-08 at 10:23 +1000, Anthony Thyssen wrote: > On Mon, 07 Sep 2009 12:24:34 +0200 > Łukasz Lis <[email protected]> wrote: > > | Hello. > | I'm trying to convert an eps file to pdf but the result isn't cropped > | correctly. I've tried calling 'convert' with different combinations of: > | > | '-define ps:use-cropbox=true' > | '-define eps:use-cropbox=true' > | '-define pdf:use-cropbox=true' > | '-define pdf:use-trimbox=true' > | > | but these make no difference (byte-wise) in the pdf output. > | > | How can I force ImageMagick to use a proper cropbox? > | I'm using ImageMagick 6.5.1. > | > | In the attachments are: > | - bs1_calls.eps - the source eps file > | - bs1_calls_magick.pdf - '$ convert bs1_calls.eps bs1_calls_magick.pdf' > | - bs1_calls.pdf - '$ ps2pdf -dEPSCrop bs1_calls.eps' > | > | -- > | Lukasz Lis > | > | e-mail/jid:lukaszl at student dot agh dot edu dot pl > > > You need to define it BEFORE reading the input file!
Do you mean like this? $ convert -define ps:use-cropbox=true -define pdf:use-cropbox=true bs1_calls.eps bs1_calls.pdf Because I've tried that too and it doesn't make a difference. The size of the picture is OK (76x64 mm) but it comes out on a corner of a whole US Letter page. -- Lukasz Lis e-mail/jid:lukaszl at student dot agh dot edu dot pl _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
