Req #24443 [Com]: GD support for CYMK jpg files

From: Date: Tue, 22 Apr 2014 06:19:48 +0000
Subject: Req #24443 [Com]: GD support for CYMK jpg files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185364@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=24443&edit=1 ID: 24443 Comment by: romtek at gmail dot com Reported by: seth at robustai dot net Summary: GD support for CYMK jpg files Status: Assigned Type: Feature/Change Request Package: GD related Operating System: Any PHP Version: * Assigned To: pajoye Block user comment: N Private report: N New Comment: GD extension already provides basic CMYK support. See http://www.boutell.com/gd/manual2.0.26.html#whatsnew2.0.22 Previous Comments: ------------------------------------------------------------------------ [2014-04-16 18:50:37] levim@php.net I think GD added support for implicit CMYK to RGB conversion; does anyone know for sure? I'm having trouble finding information. ------------------------------------------------------------------------ [2003-07-01 14:14:32] derick@php.net Not a bug (it is just not supported); so we make it a feature request. ------------------------------------------------------------------------ [2003-07-01 13:46:37] seth at robustai dot net Description: ------------ I get the following error when attempting to use this function on a CYMK jpg image. Warning: imagecreatefromjpeg(): '/usr/local/www/vhosts/speaktomecatalog.com/htdocs/highRes/3STOOG.jpg' is not a valid JPEG file in /usr/local/www/vhosts/speaktomecatalog.com/htdocs/db/eproduct.html on line 153 But the same function works fine when the image is a RGB image. Is this a bug, or does the GD package just not support CYMK images ? Thanks for your assistance. Seth Russell ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=24443&edit=1

« previous php.bugs (#185364) next »