[opencms-dev] Exception scaling Photos

Yves Glodt yg at mind.lu
Tue Apr 17 11:58:51 CEST 2012


Hello,

I see the following exception resizing images:

17 Apr 2012 11:50:17,904 DEBUG [.opencms.loader.CmsImageScaler: 206] Unable
to extract the image size for resource "/sites/
urbantrail.lu/photos/2012/UT-2012_057.jpg".
java.awt.color.CMMException: Invalid image format
       at sun.awt.color.CMM.checkStatus(CMM.java:131)
        at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
        at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:516)
        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1169)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native
Method)
        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1137)
        at
com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:948)
        at javax.imageio.ImageIO.read(ImageIO.java:1422)
        at javax.imageio.ImageIO.read(ImageIO.java:1326)
        at com.alkacon.simapi.Simapi.read(Simapi.java:281)
        at com.alkacon.simapi.Simapi.read(Simapi.java:253)
        ...


Any idea how I can "fix" my images for OpenCms to like them?

I have already tried with ImageMagick with "-quality 85 -resize 50%
-colorspace RGB" without success.

Best regards,
Yves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120417/8f64e1e1/attachment.htm>


More information about the opencms-dev mailing list