mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 10:41:06 +00:00
Fixed #1922 FLA/XFL/Canvas/SVG export - exporting DefineBitsJPEG3/4 with alpha as JPEG with PNG extension
This commit is contained in:
@@ -43,6 +43,7 @@ import com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter;
|
||||
import com.jpexs.decompiler.flash.amf.amf3.Amf3Value;
|
||||
import com.jpexs.decompiler.flash.amf.amf3.types.ObjectType;
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
import com.jpexs.decompiler.flash.exporters.ImageExporter;
|
||||
import com.jpexs.decompiler.flash.exporters.MovieExporter;
|
||||
import com.jpexs.decompiler.flash.exporters.SoundExporter;
|
||||
import com.jpexs.decompiler.flash.exporters.commonshape.Matrix;
|
||||
@@ -1819,7 +1820,7 @@ public class XFLConverter {
|
||||
}
|
||||
}
|
||||
|
||||
byte[] imageBytes = Helper.readStream(imageTag.getImageData());
|
||||
byte[] imageBytes = Helper.readStream(imageTag.getConvertedImageData());
|
||||
SerializableImage image = imageTag.getImageCached();
|
||||
ImageFormat format = imageTag.getImageFormat();
|
||||
String symbolFile = "bitmap" + symbol.getCharacterId() + imageTag.getImageFormat().getExtension();
|
||||
|
||||
Reference in New Issue
Block a user