[OpenJDK 2D-Dev] RFR 6488522: PNG writer should permit setting compression level and iDAT chunk maximum size
Laurent Bourgès
bourges.laurent at gmail.com
Fri Dec 11 17:59:21 UTC 2015
Sergey,
>> 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.
You're right. I will improve that, I did it too quickly.
Maybe I should also improve other DeflaterOutputStream usage: 1 per
keyword, see deflate (byte []), it seems roughly unoptimized...
Cheers,
Laurent
>
>
>>
>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20151211/52354969/attachment.html>
More information about the 2d-dev
mailing list