: 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.
State: upgraded 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.
Please, add ability to use parameter "-zoom" for Frames export (in command line execution
It would be very useful.
Thanks a lot.
What is the problem with the zoom parameter? Frame export already supports it.
I used the following 2 commands to export a frame from your test swf:
ffdec.bat -export frame . as2.swf
ffdec.bat -zoom 2 -export frame . as2.swf
And attahced the results.
One more problem.
When i execute command:
java -jar "C:\Program Files (x86)\FFDec\ffdec.jar" -zoom 5 -export frame "c:\pngs"
Folder "swfs" attached to the message.
i have the error: java.lang.OutOfMemoryError: Java heap space (also attache to the
Without zoom every image = 40 - 100 kb.
With zoom every image = 0,3 - 1,5 mb.
Number of images = 446.
Currently try to execute:
java -Xmx2048m -jar "C:\Program Files (x86)\FFDec\ffdec.jar" -zoom 5 -export frame
Yes, the export of page 39 needed about 2.1GB memory.
Please try the latest nightly, I optimized it a little bit, now it needs about 1.3GB,
which is still quite lot, but your image is 5101x6601 pixel, which is 135MB, and during
the rendering a lot of copy needed because of clipping, the shape contours are cached,
etc, so this memory usage is not too high.
No, there is no parallel setting for exporting files parallel. The parallel setting means
only that the action scripts (in a single swf) are decompiled on multiple threads.
We can implement it, but then note that you need about 2gb memory for each thread, so if
you execute parallel export on 8 threads, it needs 16GB memory.
Please create a feature request if you need parallel export.
Or you can use SVG export (with the latest nightly), it completes in 37 seconds (for the
ffdec.bat -format frame:svg -export frame pages_img pages
Since SVG is a vector image, you don't need zoom.