mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 20:41:14 +00:00
fix? for #1199 Automatically import alpha channel do JPEG3 and JPEG4 tags from PNG.
This commit is contained in:
@@ -128,7 +128,7 @@ public class DefineBitsJPEG3Tag extends ImageTag implements AloneTag {
|
||||
|
||||
bitmapAlphaData = new ByteArrayRange(SWFOutputStream.compressByteArray(ba));
|
||||
} else {
|
||||
bitmapAlphaData = ByteArrayRange.EMPTY;
|
||||
bitmapAlphaData = new ByteArrayRange(SWFOutputStream.compressByteArray(new byte[0]));
|
||||
}
|
||||
|
||||
imageData = new ByteArrayRange(data);
|
||||
|
||||
@@ -133,7 +133,7 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag {
|
||||
|
||||
bitmapAlphaData = new ByteArrayRange(SWFOutputStream.compressByteArray(ba));
|
||||
} else {
|
||||
bitmapAlphaData = ByteArrayRange.EMPTY;
|
||||
bitmapAlphaData = new ByteArrayRange(SWFOutputStream.compressByteArray(new byte[0]));
|
||||
}
|
||||
|
||||
imageData = new ByteArrayRange(data);
|
||||
|
||||
Reference in New Issue
Block a user