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.

#998 -format argument is not working in commandline
Author:
laforet

Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed 

> What steps will reproduce the problem?
Attempt to export images from any swf file via the CLI. For this I have been using
following command:
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!
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?
Cheers
Laforet
I'm sorry, new nigthly will be released in 5 minutes, it contains the fix.
State: new→upgraded
That was some rapid response, thanks honfika :)
I won't be able to test it now but I will try to get back to you sometime tomorrow.
Cheers
Laforet
The problem appears to be fixed in nightly807, thanks again.
State: upgraded→closed