mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 11:56:00 +00:00
fix: allow transparency in animated WEBP and APNG (PR253)
Fixes PR253
This commit is contained in:
@@ -607,7 +607,9 @@ public class FrameExporter {
|
||||
final Color fbackgroundColor = backgroundColor;
|
||||
final boolean usesTransparency = settings.mode == FrameExportMode.PNG
|
||||
|| settings.mode == FrameExportMode.GIF
|
||||
|| settings.mode == FrameExportMode.WEBP;
|
||||
|| settings.mode == FrameExportMode.WEBP
|
||||
|| settings.mode == FrameExportMode.WEBP_ANIMATED
|
||||
|| settings.mode == FrameExportMode.APNG;
|
||||
final MyFrameIterator frameImages = new MyFrameIterator(tim, fframes, evl, usesTransparency, backgroundColor, settings, subFramesLength);
|
||||
|
||||
switch (settings.mode) {
|
||||
|
||||
Reference in New Issue
Block a user