JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1922 DefineBitsJPEG3 tags exported as JPEG with .png extension in FLA/XFL
Author: user nosamu
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? 1. Open an SWF file with DefineBitsJPEG3 tags in FFDec 2. Export the SWF to FLA or XFL (exact setting does not matter) > What is the expected output? What do you see instead? I expect the DefineBitsJPEG3 tags to be exported as JPEG files in the FLA/XFL project, just as is done for DefineBitsJPEG2 tags. Instead, DefineBitsJPEG3 tags are exported as .png files that contain JPEG data. If you open the .png files in a hex editor, you will see the JPEG header/data. And the Flash authoring software will throw an error when trying to import the PNG files, because they are not really PNG files: Unable to load library item "bitmap2.png". Please delete and re-create (or re-import) this item. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? FFDec version: 18.2.0 (stable) Operating system: Windows 10 64-bit > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. In older versions of FFDec, JPEG tags were exported as PNG files in the FLA/XFL project. These PNG files contained actual PNG data, so that was fine too. The data of the file just needs to match the file extension.
user
Looking more closely, it seems like the problem is occurring specifically with DefineBitsJPEG3 tags where the images have transparency. And the transparency is not being preserved either. So I think it would be best to restore the old behavior of exporting these as real PNG files, so the transparency can be preserved.
admin
This is fixed in 18.2.1
State: new→upgraded
user
Can confirm, thank you!
admin
State: upgraded→closed