[opencms-dev] OpenCms not scaling images
Paul-Inge Flakstad
flakstad at npolar.no
Mon Sep 12 16:00:55 CEST 2011
Hi Guillermo,
I'd convert those JPGs to RGB color space.
CMYK color encoding is intended for print. Consequently, most browsers lack support for CMYK - and I'm guessing OpenCms doesn't support it either, tossing you an "Unsupported Image Type" exception.
In general, images on the web should never be in the CMYK color space. (If you need your CMYK images available online, make them available using links.)
HTH.
Best regards,
Paul
________________________________
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of guillermo barbagallo
Sent: 8. september 2011 17:29
To: opencms-dev at opencms.org
Subject: [opencms-dev] OpenCms not scaling images
Hello
We need to upload large images in photoalbum, but have problems with the resize, te image are JGP CMYK and opencms version is 7.5.4, do you know if exists a patch to this problem, the log file shows:
08 sep 2011 09:50:49,954 DEBUG [.opencms.loader.CmsImageScaler:1072] No se puede escalar la imágen del fichero "/sites/default/marketing_portal/images/x1/A0136327_CMYK.jpg" utilizando los parámetros "w:120, at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1398)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3404)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1492)
at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1052)
at org.opencms.loader.CmsImageLoader.load(CmsImageLoader.java:322)
at org.opencms.loader.CmsImageLoader.getScaledImage(CmsImageLoader.java:371)
at org.opencms.loader.CmsImageScaler.scaleImage(CmsImageScaler.java:1087)
at org.opencms.loader.CmsImageScaler.scaleImage(CmsImageScaler.java:986)
at com.alkacon.simapi.Simapi.read(Simapi.java:253)
at com.alkacon.simapi.Simapi.read(Simapi.java:281)
at javax.imageio.ImageIO.read(ImageIO.java:1322)
at javax.imageio.ImageIO.read(ImageIO.java:1400)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:864)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:889)
javax.imageio.IIOException: Unsupported Image Type
h:90,t:1,c:d4d0c8,r:2".
Thanks in advance for you help.
Guillermo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110912/148b4638/attachment.htm>
More information about the opencms-dev
mailing list