RFR: 8352407: PixelInterleavedSampleModel with unused components throws RasterFormatException: Incorrect pixel stride [v2]
Nikita Gubarkov
ngubarkov at openjdk.org
Wed Mar 19 13:06:56 UTC 2025
> 8352407: PixelInterleavedSampleModel with unused components throws RasterFormatException: Incorrect pixel stride
Nikita Gubarkov has updated the pull request incrementally with one additional commit since the last revision:
The previous approach was wrong for non-pixel interleaving.
Just align the buffer size to the pixel stride instead, should be better.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24111/files
- new: https://git.openjdk.org/jdk/pull/24111/files/3a6e6638..af41b338
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24111&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24111&range=00-01
Stats: 55 lines in 1 file changed: 38 ins; 15 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/24111.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24111/head:pull/24111
PR: https://git.openjdk.org/jdk/pull/24111
More information about the client-libs-dev
mailing list