+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: closed new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
> What steps will reproduce the problem?
Attempt to export images from any swf file via the CLI. For this I have been using
ffdec.bat -format image:png -export image out_folder source.swf
> What is the expected output? What do you see instead?
Until nightly790, the command above will export all images contained in the file as PNG
files to the specified location. It is necessary to specify the output format because the
swf could contain a mixture of DefineBits, JPEG and lossless tags in any order and this
argument eliminates a lot of variability when scripting.
Since nightly794, however, the same command will produce the following error:
Error: Bad Commandline Arguments!
1) -format <formats>
...sets output formats for export
[Extended outpit omitted]
If the "-format image:png" part is removed then export will happen, but DefineBits image
tags will be saved as JPEG instead of PNG.
Could it have something to do with commit 197a9770cb21ec224d98cd37780feaad92398c50?