JPEXS Free Flash Decompiler Issue Tracker

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

: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#990 Incorrect colors after exporting image
Author: user Serj
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? Open attached file and exprot image with character id 4 (en.starling.icon_cm_promo) > What is the expected output? What do you see instead? Expected as it shown in SWF preview Instead of it i see black border arond image and grate quality losses. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? I tried 6.0.1 and nightly 6.0.1 778 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. I attached swf. Tnx for grate decompiller )
user
OS is win 8.1 x64
user
In SWF preview you may copy it to clipboard. And it copies correctly but does not save alpha chanel.
user
Seems like easy to fix bug. Nah ?
developer
Not really, i tried to fix it in the past some hours :S The problem is that the values are premultiplied with the alpha channel.
user
So why not to div like RGB / A ? )
developer
And java's imageIO saves it wrong. I tried to reverse the multiplication, but the problem is that it is not reversible, because the premultiplied values are cutted to be in 0-255 range. Maybe a new getImage method is needed which returns the image without premultiplied alphas, but i don't like this idea. I'll try to find a better way.
user
Clear :-) Is there something i could do to help you ?
user
I checked export to fla. Same problem there. But in internal ffdec preview and image list everything looks good. Strange.
developer
Could you please try the latest nightly build? (782 or later)
user
Downloaded 782. I tried to export to png and fla. results are the same :(
developer
Are you sure? For me it seems to be ok. See the attahced image
user
I tried again. Downloaded zip 782. Extracted it in different folder. Result is the same. Check the pic.
developer
Please ensure that you have the following files: ffdec.jar: 1877173 bytes lib/ffdec_lib.jar: 2764772 bytes
user
I have both. sizes are the same.
admin
please attach the exported PNG here. Is it same as the one from honfika post?
user
Here it is.
user
I found it ) Cache images was on. Now it is ok!
user
Everything seems to be grate. Thank you!
user
Export to png works good. But exprot to fla has a problem
user
the same problem :(
user
Where is cache folder btw?
developer
Images are cached in memory, there is no cache folder. Now it should work with enabled image cache, too. (Nightly 783) Fla export is fixed too in nightly 784 (will be released automatically in a few minutes)
user
Oh, thank you! I already downloaded it )
developer
Is it ok? May I close this issue?
State: new→upgraded
user
Yes! All is fine!
developer
State: upgraded→closed