On Mon, 8 Sep 2025 21:51:50 GMT, GennadiyKrivoshein <[email protected]> wrote:

>> supposing we have a 1200 dpi printer and someone prints to A3 paper.
>> That's approx 12x16 inches and its ARGB so
>> 12 * 1_200 * 16 * 1_200 * 4 .. that's  over a Gigabyte !
>> 
>> So what you are doing isn't viable as well as unnecessary.
>
> Changed BufferedImage size to 1x1.
> This peekGraphics and its configuration, matrix are visible to user and it 
> would be better if the "peek" graphics was the same as "printing" graphics.

The BufferedImage size was reverted to the initial size.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25489#discussion_r2368819795

Reply via email to