[opencms-dev] OpenCms 8.5: scaling image (jpg) changes color of original image

Schliemann, Kai K.Schliemann at comundus.com
Thu Apr 17 18:18:37 CEST 2014


Dear Carsten,
that sounds like pretty much the problem in our case.
I'll try that out after the Easter holidays.
Thanks a lot and Happy Easter

Kai

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Carsten Wilhelm
Gesendet: Donnerstag, 17. April 2014 17:42
An: 'The OpenCms mailing list (opencms-dev at opencms.org)'
Betreff: Re: [opencms-dev] OpenCms 8.5: scaling image (jpg) changes color of original image

Dear Kai,

We have seen color bugs in Java whe using ImageIO in other projects as well (apart from OpenCms). Problem might be, that Java might identify a RGBA jpeg ad CMYK. The algorithm used by Java just counts the number of channels.

I'm niot sure if this is true in this case, but try to save the image as RGB in PhotoShop.

Kind regards,
Carsten

Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Schliemann, Kai
Gesendet: Donnerstag, 17. April 2014 17:32
An: 'The OpenCms mailing list (opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>)'
Betreff: [opencms-dev] OpenCms 8.5: scaling image (jpg) changes color of original image

Hi list,
one of our customer recognized that some jpegs, when the cropping or resizing feature (via cms:img tag) of OpenCms is used, get a red color tone or chroma (sorry I am not sure if that is the correct translation for the german word "Farbton") applied.
It is like somehow some red color is added to the picture or a red mostly transparent layer is placed on top of the image.
We think it has to do with the settings used in the photo editor (e.g. Photoshop) when saving the image, but currently couldn't find out which settings.

Any help greatly appreciated.
Thanks a lot in advance

Best regards

Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140417/06b4095c/attachment.htm>


More information about the opencms-dev mailing list