[ 
http://jira.magnolia-cms.com/browse/MGNLIMG-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated MGNLIMG-38:
----------------------------------

        Fix Version/s: 2.0
    Affects Version/s: 2.0

> 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 Image Filtering Module
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Philipp Bärfuss
>            Assignee: Grégory Joseph
>             Fix For: 2.0
>
>
> 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/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to