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](/flash/images/issue_list.png)
#2191 Saving Shapes results in black (instead of transparent) background
Author:
Andre1070
![user user](/flash/images/user.png)
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
> What steps will reproduce the problem?
Selecting a shape in the file to export as an image. I tested it with bitmap (.bmp) as the
selected outfit. The bug may not occur with other image types.
> What is the expected output? What do you see instead?
I expected to see a white background, just as happens when a transparent image is saved in
a non-transparent image format. Instead, the image is surrounded by blackness, making the
sprite difficult to see (and erasing its black outlines, since they get lost in the new,
black background).
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
I am using version 2.0.1.0. I am not sure if it's the "nightly build", but if it isn't,
where can I get the nightly build, out of curiosity?
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Relevant file is attached. I encountered the problem when extracting the 15th shape.
![Download](/flash/images/disk.png)
When exporting shape to BMP format, which does not supports transparency,
SWF background color is used as filling under the shape.
You can change SWF background color in others/SetBackgroundColor tag to whatever color you
like and then export the shape to BMP again.
This SWFs background color is black to that's why you exported it with black filling.
See attachment.
![Download](/flash/images/disk.png)
State: new→opened
Type: bug→question
Type: bug→question
But it doesn't let me do that when I try. Instead of a black square, my screen has a black
dot followed by the RGB values, and I can't edit it, not even a RAW edit. Why doesn't my
version of the program have this feature? Is this something I'm supposed to be doing that
I haven't?
Did you click the Edit button at the bottom?
Oh, damn. Really sorry about that, didn't sleep today... but thank you! The issue is fixed
and now I have no more problems to report :D
State: opened→closed