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 issues#968 Sprites export with wrong coloring
Author: Topkek
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Shapes
State: closed
> What steps will reproduce the problem?
Download attached SWF file, open sprites folder, export second-to-last sprite as PNG file
(happens for numerous sprites no matter what type of file you export it as; the sprite I'm
referring to, DefineSprite (993: assets.equipment.black.AtomicMadusaBoots.Profile), was
chosen because it's a prime example).
> What is the expected output? What do you see instead?
I expected the color scheme to come out correctly—the "SWF preview" area in the
decompiler shows what the image should look like, but when it's exported, the black
coloring comes out either brown-ish, non-existent, or sloppy (depends on what type of file
you export it as). More information below.
> What version of the product are you using? Is it "nighlty build"? Which operating system
do you have?
I'm using 6.0.1. I don't download the nightly builds; just the official releases when it
notifies me that there is an update. Operating system is Windows 8.1.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Exporting as a PNG, GIF, or BMP turns the black sections brown-ish, exporting as a SVG
totally removes the black coloring, and exporting as HTML5 Canvas is probably the best,
but it looks like the black parts were drawn with a paint program's paintbrush with
aliasing; it looks quite sloppy (and it has a black background). Here's an image showing
the problem: http://snag.gy/aJPhh.jpg I thought the problem may be my PC, but I
saw users at the "SAS Zombie Assault Wiki" (a site about the games that SWF is related to)
having the same problems with various images.
equipment.swf (1,327 KiB)
Probably a bug in COLORMATRIXFILTER.
PNG, GIF, BMP export is fixed in latest nightly.
Filters are not supported in SVG, so it is "normal".
HTML5 export: the transparent parts are still black.
Ah yes, everything looks right now. Thanks!!
Er I just noticed it does that aliased thing like the HTML5 Canvas did
(http://snag.gy/RVSTy.jpg), but heck, I'm just glad the colors look nice :P
Ok, I close this issue now, and create a new feature request for anti aliasing.
State: new→closed
Feature request: #983