Page 1 of 1

eps to pdf, strange issue

Posted: 2010-01-06T10:58:39-07:00
by myspacee
Hello to all,
have some problem converting .eps to .pdf

------------ > eps source
http://www.megaupload.com/?d=0NUUNLS8

------------ > BAD pdf (post its .jpg for easy view)
Image

Exist syntax to convert correctly this type of .eps source ?

Thank you for reading,

m

Re: eps to pdf, strange issue

Posted: 2010-01-06T11:12:34-07:00
by fmw42
your original eps file is unavailable from the link provided

what was your exact IM command line to do the convert.

also see http://www.imagemagick.org/Usage/formats/#vector

Re: eps to pdf, strange issue

Posted: 2010-01-06T11:24:36-07:00
by myspacee
Thank you for reply,
megaupload take some time to post file...

my command line is : convert input.eps output.pdf

waiting for megaupload to publish my file,

m.

Re: eps to pdf, strange issue

Posted: 2010-01-06T13:02:19-07:00
by myspacee
ok file is online,
can anyone help me to obtain a pdf A3 page form posted source?

Thank you!

m.

Re: eps to pdf, strange issue

Posted: 2010-01-06T13:16:23-07:00
by magick
File is not online. Or at least we still cannot download it.

Re: eps to pdf, strange issue

Posted: 2010-01-06T13:21:03-07:00
by fmw42
your file is still unaccessable. but to get A3 page size, see http://www.imagemagick.org/script/comma ... s.php#page

Re: eps to pdf, strange issue

Posted: 2010-01-06T14:47:30-07:00
by myspacee
upload again : http://www.webalice.it/t.bavaro/aosta.eps

Thank you for any help

m.

Re: eps to pdf, strange issue

Posted: 2010-01-06T15:48:06-07:00
by fmw42
Your first link did not download for me. So I got your image from the second. I tried to simply convert it from eps to pdf. I am no expert on this. But get an error message:

convert aosta.eps aosta.pdf
Error: /invalidfont in /findfont
Operand stack:
courier Courier
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1857 1 3 %oparray_pop 1856 1 3 %oparray_pop 1840 1 3 %oparray_pop 1723 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1815 2 4 %oparray_pop
Dictionary stack:
--dict:1144/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:22/64(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 3623
GPL Ghostscript 8.61: Unrecoverable error, exit code 1


Perhaps I just don't have the right fonts. Or need to upgrade Ghostscript. Any one know what this error is about?

By the way have you installed Ghostscript with your IM.

convert -list configure

look at the line starting with DELEGATES, does it contain gs?

Sorry, I cannot help further on this. Hopefully someone else will have better success.

But did you look at the link I sent you for specifying page sizes: http://www.imagemagick.org/script/comma ... s.php#page

That is the best I can do.

PS. On my Mac, I can use Preview to display your eps file which is automatically converted to PDF and displays just fine.

Re: eps to pdf, strange issue

Posted: 2010-01-06T16:13:23-07:00
by myspacee
Thank you for try.

On my Pc i've last ghostcript installed. And use last static IM convert.exe to make conversion.

No error on video, can't try now in real environment (i'm at home) but tomorrow try to
collect more info with -verbose option.

Every eps viewer display it correctly, need to use IM because it's only option if you want quality in production.

Anyone want to try to solve this mistery?

Thank you for your time,

m.

Re: eps to pdf, strange issue

Posted: 2010-01-07T06:17:45-07:00
by myspacee
post verbose output to help you to help me :)

Code: Select all

convert -verbose caluso.eps caluso.pdf
[ghostscript library] Files/gs/gs8.64/bin/gswin32c.exe" -q -dQUIET -dPARANOIDSAF
ER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=
0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r7
2x72" -g762x957  "-sOutputFile=C:/Users/A0F44~1.GIA/AppData/Local/Temp/magick-p1
NY8DIS" "-fC:/Users/A0F44~1.GIA/AppData/Local/Temp/magick-f3TKM528" "-fC:/Users/
A0F44~1.GIA/AppData/Local/Temp/magick-IT3bVMhe"%%[ ProductName: GPL Ghostscript
]%%
C:/Users/A0F44~1.GIA/AppData/Local/Temp/magick-p1NY8DIS PNG 762x957 762x957+0+0
8-bit DirectClass 68.3KiB 0.016u 0:00.020
caluso.eps PS 762x957 762x957+0+0 16-bit DirectClass 68.3KiB 0.000u 0:00.006
caluso.eps=>caluso.pdf PS 762x957 762x957+0+0 16-bit GrayscaleMatte DirectClass
112KiB 0.031u 0:00.032
thank you for support,

m.

Re: eps to pdf, strange issue

Posted: 2010-01-07T06:53:15-07:00
by magick
Try this command:
  • convert -page Tabloid aosta.eps aosta.jpg

Re: eps to pdf, strange issue

Posted: 2010-01-07T07:10:29-07:00
by myspacee
thank you admin,
so 'problem' it's only the format ?!

Works, thank you!

m.