[OpenJDK 2D-Dev] RFR 6488522: PNG writer should permit setting compression level and iDAT chunk maximum size

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Dec 11 15:57:12 UTC 2015


On 11/12/15 17:38, Laurent Bourgès wrote:
> I fixed that issue by resetting the compression level to the default
> value before using or not params.

Probably it can be made local to the write method, but this version 
looks fine too.

>
> Here is an updated webrev:
> http://cr.openjdk.java.net/~lbourges/png/PNGWriter-6488522.2/
>
> The jtreg ImageCompressionTest still passes (I did not update it).
>
> Cheers,
> Laurent


-- 
Best regards, Sergey.



More information about the 2d-dev mailing list