mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 20:46:00 +00:00
Issue #375 Replacing DefineBitLossless images bug
This commit is contained in:
@@ -58,6 +58,7 @@ public class DefineBitsLosslessTag extends ImageTag implements AloneTag {
|
||||
bitmapFormat = FORMAT_24BIT_RGB;
|
||||
bitmapWidth = image.getWidth();
|
||||
bitmapHeight = image.getHeight();
|
||||
bitmapData = new BITMAPDATA();
|
||||
bitmapData.bitmapPixelDataPix24 = new PIX24[bitmapWidth * bitmapHeight];
|
||||
int pos = 0;
|
||||
for (int y = 0; y < bitmapHeight; y++) {
|
||||
|
||||
Reference in New Issue
Block a user