From: guru dot indian at gmail dot com Operating system: windows xp PHP version: 5.2.9 PHP Bug Type: GD related Bug description: convertion of filename.eps to filename.jpg is not clear
Description: ------------ Dear sir/madam, I did a image processing project using PHP GD library, in which i need to convert a image file with extension filename.eps to jpg, I used exec(convert path/to/sourcefile.eps path/to/dest.jpg) command. This process converts RGB color format successfully but the eps file is in CMYK color format which doesnt converts good. The output file is in different color (seems to be inverted color). I think this is a bug. please take necessary action to correct this problem in future versions of php. Hence first i converted the eps file to pdf, and then i converted the pdf to jpg. this somehow gave a little relevant output. Regards Guru Reproduce code: --------------- --- >From manual page: function.convert --- exec("convert filename.eps -colorspace CMYK -quality 100 filename.jpg"); The image is in CMYK color format Expected result: ---------------- The color of the eps file is magenta but the output is with green colored image. Actual result: -------------- Need same color of image during conversion. -- Edit bug report at http://bugs.php.net/?id=48435&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48435&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48435&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48435&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48435&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48435&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48435&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48435&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48435&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48435&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48435&r=support Expected behavior: http://bugs.php.net/fix.php?id=48435&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48435&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48435&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48435&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48435&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48435&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48435&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48435&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48435&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48435&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48435&r=mysqlcfg