code for converting .eps to .jpg
code for converting .eps to .jpg
hi i am new to imag magic i want the php code for converting .eps to .jpg code can anyone give me the code
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: code for converting .eps to .jpg
IM Examples, Text to Image Handling, Postscript
http://www.imagemagick.org/Usage/text/#postscript
Combine that with PHP usage
http://www.imagemagick.org/Usage/api/#php
Also look at RubbleWebs, PHP with command line ImageMagick
http://www.rubblewebs.co.uk/imagemagick/
http://www.imagemagick.org/Usage/text/#postscript
Combine that with PHP usage
http://www.imagemagick.org/Usage/api/#php
Also look at RubbleWebs, PHP with command line ImageMagick
http://www.rubblewebs.co.uk/imagemagick/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: code for converting .eps to .jpg
hi anthony,
i have installed ImageMagick-6.5.4-3-Q16-windows-dll.exe and check in the command prompt and when i type convert -version it gives me installed messages and also it is doing the basic image resize and conversion from jpg to gif,png. ok. So far great but my requirement is to convert .eps image to .jpg so how do i get it done.
i tried it with the convert command by of no use. it gives me error as Postscript delegate failed and also missing an image filename
hope you or someone help me out.
waiting for reply.
i have installed ImageMagick-6.5.4-3-Q16-windows-dll.exe and check in the command prompt and when i type convert -version it gives me installed messages and also it is doing the basic image resize and conversion from jpg to gif,png. ok. So far great but my requirement is to convert .eps image to .jpg so how do i get it done.
i tried it with the convert command by of no use. it gives me error as Postscript delegate failed and also missing an image filename
hope you or someone help me out.
waiting for reply.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: code for converting .eps to .jpg
You also need to install the ghostscript program which IM uses to read EPS files.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: code for converting .eps to .jpg
Hi Anthony,
thanks for the reply.
i got the code working.
this could be useful to someone whose is new to im:
i installed im and made necessary changes in the config file
later i installed the ghostscript and then tested the php code for converting .eps to .jpg
it worked!
thanks for the reply.
i got the code working.
this could be useful to someone whose is new to im:
i installed im and made necessary changes in the config file
later i installed the ghostscript and then tested the php code for converting .eps to .jpg
it worked!
Re: code for converting .eps to .jpg
hi anthony,
when i worked with .eps images through file upload it was converting .eps images to .jpg format but when i tried to convert .ai images to .jpg it was not working.
but when i tried to convert the .ai image statically it worked, but why is the code not able to convert the .ai image to .jpg format through file upload.
waiting for reply..............
when i worked with .eps images through file upload it was converting .eps images to .jpg format but when i tried to convert .ai images to .jpg it was not working.
but when i tried to convert the .ai image statically it worked, but why is the code not able to convert the .ai image to .jpg format through file upload.
waiting for reply..............