ID: 48435 Updated by: scott...@php.net Reported By: guru dot indian at gmail dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: windows xp PHP Version: 5.2.9 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. This is ImageMagick you are using, nothing to do with PHP here. Previous Comments: ------------------------------------------------------------------------ [2009-05-30 11:25:35] guru dot indian at gmail dot com 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 this bug report at http://bugs.php.net/?id=48435&edit=1