mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 05:44:51 +00:00
use red color when bitmap is not available for bitmapfill (probably some fallback in flash player for erroneous bitmap fills)
This commit is contained in:
@@ -870,6 +870,11 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
compress(new ByteArrayInputStream(uncompressedData), os, compression, lzmaProperties);
|
||||
}
|
||||
|
||||
public void saveTo(OutputStream os, boolean gfx) throws IOException {
|
||||
byte[] uncompressedData = saveToByteArray(gfx);
|
||||
compress(new ByteArrayInputStream(uncompressedData), os, compression, lzmaProperties);
|
||||
}
|
||||
|
||||
public byte[] getHeaderBytes() {
|
||||
return getHeaderBytes(compression, gfx);
|
||||
}
|
||||
@@ -903,6 +908,10 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
}
|
||||
|
||||
private byte[] saveToByteArray() throws IOException {
|
||||
return saveToByteArray(gfx);
|
||||
}
|
||||
|
||||
private byte[] saveToByteArray(boolean gfx) throws IOException {
|
||||
fixCharactersOrder(false);
|
||||
|
||||
byte[] data;
|
||||
|
||||
Reference in New Issue
Block a user