mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
Doc clean-up.
This commit is contained in:
parent
edb1c481d9
commit
1221a8bebc
@ -90,9 +90,10 @@ final class QTRAWDecompressor extends QTDecompressor {
|
|||||||
null
|
null
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 32: // 32 bit RGBA
|
case 32: // 32 bit ARGB
|
||||||
// WORKAROUND: There is a bug in the way Java 2D interprets the band offsets before Java 6.
|
// WORKAROUND: There is a bug in the way Java 2D interprets the band offsets in
|
||||||
// So, instead of passing a correct offset array below, we swap channel 1 & 3...
|
// Raster.createInterleavedRaster (see below) before Java 6. So, instead of
|
||||||
|
// passing a correct offset array below, we swap channel 1 & 3 to make it ABGR...
|
||||||
for (int y = 0; y < pDescription.height; y++) {
|
for (int y = 0; y < pDescription.height; y++) {
|
||||||
for (int x = 0; x < pDescription.width; x++) {
|
for (int x = 0; x < pDescription.width; x++) {
|
||||||
int offset = 4 * y * pDescription.width + x * 4;
|
int offset = 4 * y * pDescription.width + x * 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user