RFR: 8337681: PNGImageWriter uses much more memory than necessary [v2]
Daniel Gredler
duke at openjdk.org
Thu Aug 1 21:51:04 UTC 2024
On Thu, 1 Aug 2024 20:11:51 GMT, Phil Race <prr at openjdk.org> wrote:
>> Daniel Gredler has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - JDK-8337681: add tests for TYPE_4BYTE_ABGR
>> - JDK-8337681: add tests for TYPE_INT_RGB
>
> test/jdk/javax/imageio/plugins/png/RasterReuseWriteTest.java line 49:
>
>> 47:
>> 48: public static void main(String[] args) throws Exception {
>> 49: test(BufferedImage.TYPE_INT_ARGB);
>
> can you also test INT_RGB at least ?
No problem, I've added `TYPE_INT_RGB`, `TYPE_4BYTE_ABGR` and `TYPE_4BYTE_ABGR_PRE`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20432#discussion_r1700905718
More information about the client-libs-dev
mailing list