[
http://jira.magnolia-cms.com/browse/MGNLIMG-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Zimmermann updated MGNLIMG-38:
------------------------------------------
Fix Version/s: 2.3 Alpha2 s012
(was: 2.0)
Affects Version/s: 2.3 Alpha2 s011
(was: 2.0)
Component/s: image operations
> outputting into jpg format fails if processed image is a gif or png
> --------------------------------------------------------------------
>
> Key: MGNLIMG-38
> URL: http://jira.magnolia-cms.com/browse/MGNLIMG-38
> Project: Magnolia Imaging Module
> Issue Type: Bug
> Components: image operations
> Affects Versions: 2.3 Alpha2 s011
> Reporter: Philipp Bärfuss
> Assignee: Grégory Joseph
> Priority: Major
> Fix For: 2.3 Alpha2 s012
>
>
> The method ImageUtil.flattenTransparentImageForOpaqueFormat(BufferedImage,
> OutputFormat) fails for the following cenario
> 1) input is png and output jpg
> 2) input is gif and output jpg
> the exceptions are not the same
> 1) java.lang.ClassCastException: java.awt.image.ComponentColorModel cannot be
> cast to java.awt.image.DirectColorModel
> 2) java.lang.ArrayIndexOutOfBoundsException: 1
> at
> java.awt.image.PixelInterleavedSampleModel.createSubsetSampleModel(PixelInterleavedSampleModel.java:142)
> at
> sun.awt.image.ByteInterleavedRaster.createWritableChild(ByteInterleavedRaster.java:1279)
> at
> info.magnolia.imaging.util.ImageUtil.flattenTransparentImageForOpaqueFormat(ImageUtil.java:3
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------