Hello Friends,
Currently I am working on a project where I need to convert few image files into different format. I am using ImageMagick for same.
I need to convert 3 formats, PSD, AI and EPS to JPG
PSD to JPG
EPS to JPG
AI to JPG
PSD to JPG and AI to JPG works fine, but EPS to JPG does not work. No error on the screen as well.
I am using below code
<?php
exec("/usr/bin/convert psd1.psd[0] -flatten psd1_jpg.jpg");
exec("/usr/bin/convert grindstop.eps eps111_jpg.png");
exec("/usr/bin/convert ai.ai ai1_jpg.jpg");
?>
Above code works perfect in my local server but same code does not work on server for EPS (for PSD and AI it works)
Please assist me where is the issue.
Thanks a lot!
Best Regards,
Rakesh Jain
Need Help! Having issue in converting EPS to JPG
Re: Need Help! Having issue in converting EPS to JPG
Let's see if the problem is specific to your EPS image file. Type
- convert logo: logo.eps
- convert logo.eps eps111_jpg.png
Re: Need Help! Having issue in converting EPS to JPG
Hello
Yes it works for me
i followed both steps and found that logo.eps now can generate .jpg or .png formats
below is the output
http://rightwayservices.org/rakesh/imag ... 11_jpg.jpg
It means i have problem with EPS format or files/images?
Although same EPS images works for me in local server which is window based and imagemagick window version is installed there
is there any way to where i can see what kind of EPS works with ImageMagick?
please advise me
thanks
Rakesh Jain
Yes it works for me
i followed both steps and found that logo.eps now can generate .jpg or .png formats
below is the output
http://rightwayservices.org/rakesh/imag ... 11_jpg.jpg
It means i have problem with EPS format or files/images?
Although same EPS images works for me in local server which is window based and imagemagick window version is installed there
is there any way to where i can see what kind of EPS works with ImageMagick?
please advise me
thanks
Rakesh Jain
Re: Need Help! Having issue in converting EPS to JPG
ImageMagick delegate EPS rendering to Ghostscript. Its possible Ghostscript does not like a particular EPS image file you have or perhaps you need to upgrade your version of Ghostscript.
Re: Need Help! Having issue in converting EPS to JPG
thanks a lot for your kind support so far, it helped me a lot!
i will talk with my server guy for same. i believe the problem is with version.
is there any way to know which one version of Ghostscript and Image Magick is working on server?
thanks
Rakesh jain
i will talk with my server guy for same. i believe the problem is with version.
is there any way to know which one version of Ghostscript and Image Magick is working on server?
thanks
Rakesh jain