[ 
https://issues.apache.org/jira/browse/IMAGING-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310787#comment-17310787
 ] 

Gary Lucas commented on IMAGING-284:
------------------------------------

What version of Commons Imaging were you using?

I ask because the code currently in the Github repository should be able to 
handle TIFF's with transparency.  However, that code is not yet been released 
to the Maven Central Repository.  So if you were using the compiled Jars from 
the Maven Central Repository, they would not handle your image file properly.  
But if you downloaded code from Github and compiled your own Jars, they ought 
to work.  If they don't then there could be a bug in the implementation.

I don't manage the Commons Imaging project, but I did contribute the code 
enhancements for the TIFF transparency feature. So if there is a problem, I 
would be anxious to find it.

How big is your test file?  If it's not too big, would it be possible to attach 
it to this Jira issue?  I do not have access to mediafire.com

 

 

> Tif file with transparent background result in black background png
> -------------------------------------------------------------------
>
>                 Key: IMAGING-284
>                 URL: https://issues.apache.org/jira/browse/IMAGING-284
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: Format: PNG
>            Reporter: Gaurav Gupta
>            Priority: Major
>
> When a tiff file (sample file [0]) with transparent background is converted 
> to png file using commons-imaging library, the background in png file is 
> black instead of transparent.
> [0] https://www.mediafire.com/file/tl0r9tsvx6a16zg/Test.tif/file



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to