mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-11 17:58:08 +00:00
fla export: image alphafix
This commit is contained in:
@@ -1337,9 +1337,7 @@ public class XFLConverter {
|
||||
} else if (symbol instanceof ImageTag) {
|
||||
ImageTag imageTag = (ImageTag) symbol;
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
SerializableImage image = imageTag.getImage();
|
||||
// do not store the image in cache during xfl conversion
|
||||
imageTag.clearCache();
|
||||
SerializableImage image = imageTag.getImage(false);
|
||||
ImageFormat format = imageTag.getImageFormat();
|
||||
ImageHelper.write(image.getBufferedImage(), format, baos);
|
||||
String symbolFile = "bitmap" + symbol.getCharacterId() + "." + imageTag.getImageFormat();
|
||||
|
||||
Reference in New Issue
Block a user