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

Richard Kettelerij commented on SHINDIG-1665:
---------------------------------------------

I've noticed the same issue with PNGs. What would help is a setting (in 
shindig.properties) to disable image rewriting altogether. Currently it's only 
getting in the way. 

As a workaround I've excluded PNG files from being rewritten using 
"shindig.content-rewrite.exclude-urls". While PNG files are now rendered 
correctly it also causes PNGs to be served directly from the original gadget 
host. No proxying is happening, which is unfortunate especially in a secure 
(SSL) environment.
                
> Shindig BasicImageRewriter corrupted transparant png images with proxy
> ----------------------------------------------------------------------
>
>                 Key: SHINDIG-1665
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1665
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 2.0.2, 2.5.0
>            Reporter: Henry Saputra
>              Labels: patch, rewriter
>             Fix For: 2.5.0
>
>
> Shindig "optimizes" images before caching them to reduce space. However, 
> during this optimization PNG images with transparency get corrupted.
> The problem seems to happen in ImageUtils.palettize when used by 
> PNGOptimizer#rewriteImpl.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to