Changes color on upload

See all posts See thread Reply

Re: Changes color on upload new!
by colin, 11 years, 5 months ago
I's OK, I can see the difference of colors (you can display the raw image in tinypic).

In your original JPEG, do you have a color profile (like sRGB and Adobe RGB)?

In any case, you will loose some quality. But I would have expected that it wouldn't change the colors so much.Reply
Re: Changes color on upload new!
by Halffull, 11 years, 5 months ago
How can i check if i have a color profile?
is it possible it has something to do with jpeg_quality, i see its default 85.Reply
Re: Changes color on upload new!
by Halffull, 11 years, 5 months ago
it says sRGB i gues this is what you meant.Reply
Re: Changes color on upload new!
by colin, 11 years, 5 months ago
You can certainly try to increase the JPEG quality setting.Reply
Re: Changes color on upload new!
by Willem, 9 years, 9 months ago
Hi, I have been using your upload class with a lot of pleasure! But just the other day I noticed color changes after the create thumbnail function did it's thing. Turns out the file is stripped of its color profile (Adobe RGB). Is there any way to preserve the color profile after the image is resized?

Thanks!Reply
Re: Changes color on upload new!
by colin, 9 years, 9 months ago
I am afraid the class (GD in fact) doesn't take the color profile into account. The class cannot deal with it as of now, but it could be implemented in the future, using such code as this.Reply