Changeset 7353
- Timestamp:
- 12/07/10 13:41:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/bio-formats/src/loci/formats/in/NativeQTReader.java
r6881 r7353 178 178 !code.equals(altCodec); 179 179 180 byte[] t = uncompress(pixs, code); 180 byte[] t = prevPlane == no && prevPixels != null && !code.equals(altCodec) ? 181 prevPixels : uncompress(pixs, code); 181 182 if (code.equals("rpza")) { 182 183 for (int i=0; i<t.length; i++) { … … 226 227 if (bitsPerPixel == 32) { 227 228 for (int col=0; col<w; col++) { 228 int src = row* getSizeX() * bpp * 4 + (x + col) * bpp * 4 + 1;229 int src = (row + y) * getSizeX() * bpp * 4 + (x + col) * bpp * 4 + 1; 229 230 int dst = row * destRowLen + col * bpp * 3; 230 231 if (src + 3 <= t.length && dst + 3 <= buf.length) {
Note: See TracChangeset
for help on using the changeset viewer.