Reply to Re: Resizing CMYK Image to RGB Image

Re: Resizing CMYK Image to RGB Image new!
by Orkan K, 9 years, 6 months ago
I'm trying to upload and process CMYK JPG image, resize and convert it to jpg again or not.

But when I opened original image in browser its show also wrong colours, I just saw it.

Original image is www.ismim.com/cmyk.jpg when open this image out of browser any of other editor or viewer its show original colours but browsers not.

and when convert it with upload.class its convert to wrong colours permanently.

I don't understand whats wrong forgot it, I will tell customer to convert all images to the RGB color but of course we can solve for the future.

system information
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : /var/www/vhosts/gokay.com.tr/:/tmp/
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : embro turkuaz.jpg
file_src_name_body : embro turkuaz
file_src_name_ext : jpg
file_src_pathname : /tmp/phpmPQQeT
file_src_mime : image/jpeg
file_src_size : 2506327 (max= 134217728)
file_src_error : 0
- source file is an image
image_src_x : 1306
image_src_y : 979
image_src_pixels : 1278574
image_src_type : jpg
image_src_bits : 8
process file to /var/www/vhosts/gokay.com.tr/httpdocs/Products/Images/
- file size OK
- file mime OK : image/jpeg
- new file name ext : jpg
- new file name body : _small_embro_turkuazjpg20150513112859
- file name safe format
- destination variables
file_dst_path : /var/www/vhosts/gokay.com.tr/httpdocs/Products/Images/
file_dst_name_body : _small_embro_turkuazjpg20150513112859
file_dst_name_ext : jpg
- image operation, change extension for conversion type
- checking for auto_rename
- destination file details
file_dst_name : _small_embro_turkuazjpg20150513112859.jpg
file_dst_pathname : /var/www/vhosts/gokay.com.tr/httpdocs/Products/Images/_small_embro_turkuazjpg20150513112859.jpg
- _small_embro_turkuazjpg20150513112859.jpg doesn't exist already
- image resizing or conversion wanted
- source image is JPEG
- resizing...
check x/y sizes
resized image object created
image_src_x y : 1306 x 979
image_dst_x y : 100 x 74
- converting...
fills in transparency with default color
- saving image...
JPEG image created
image objects destroyed
- process OKReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important