On Wed, 3 Dec 2025 01:33:24 GMT, Phil Race <[email protected]> wrote: > There isn't corrupted content, it is partial content in the case of an image > that is too large.
ok, up to you. But still Imagine: you are the app developer and you want to transform the image and then render it on the screen at a specific position. When the filtered image is returned how are you supposed to render it if its size is too small? You cannot simply scale it up, because the content has been partially cut and is no longer complete. So instead of checking the parameters or catch an exception the app will need to always check the size of the returned image, no? ps. I still believe the partition content is incorrect and corrupted, because the app expects a larger image that can be rendered or saved later. In this case, we should fail fast and notify the app that the result is unexpected. Or alternatively, we could return the largest image we can create, since anything larger cannot be stored or rendered anyway. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27707#issuecomment-3604788170
