[OpenJDK 2D-Dev] [9] Review request for 8041460, PNGImageWriter creates metadata with incorrect bitDepth
mikhail cherkasov
mikhail.cherkasov at oracle.com
Thu Jul 3 15:32:09 UTC 2014
Hi Sergey,
This is kindly reminder about my review request.
Thanks,
Mikhail.
On 6/23/2014 5:09 PM, Andrew Brygin wrote:
> Hello Mikhail,
>
> the fix looks fine to me.
>
> Thanks,
> Andrew
>
> On 6/9/2014 10:32 PM, mikhail cherkasov wrote:
>> Hi all,
>>
>> please review the fix:
>> http://cr.openjdk.java.net/~mcherkas/8041460/webrev.02/
>> for the following bug:
>> https://bugs.openjdk.java.net/browse/JDK-8041460
>>
>> The problem is that during merging of metadata trees we take index of
>> IHDR_bitDepths
>> and set this value to IHDR_bitDepth, but IHDR_bitDepth requires a
>> real number of bits.
>> IHDR_bitDepths - store all valid values: "1", "2", "4", "8", "16", so
>> to get
>> valid value we need: 1 << index.
>>
>> Thanks,
>> Mikhail.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20140703/b8081de1/attachment.html>
More information about the 2d-dev
mailing list