Open dogtopus opened 2 years ago
There exists PR #1168. However, given the fact, that it has been waiting for merge for a very long time, it is completely outdated. I have doubts this will change anytime soon. Several changes to the PR will be required, before it's ready to merge.
I think this will be an amazing addition!
Describe the feature
Not sure how doable is this given the current architecture, but it would be nice to let exporter "render" vector images (as e.g. PDF or SVG) for a specific frame while preserving as much extra information as possible such as texts. The underlying code may also be reused to power SWF printing, which should produce higher quality prints (especially for texts) than rasterizing everything and print.
This could effectively turn ruffle into one of the best SWF frame to PDF converter
second to botting the official flash player to print the current frame as PDF, given how accurate the SWF renderings from ruffle already look like despite "in alpha". The other option I could find is JPEXS Flash Decompiler which is not being developed actively and the frame rendering is very inaccurate for anything other than "just a backgound image".(Actually I take my words back on Flash Player printing being a good PDF converter. Like ruffle it seems to raster the image before printing, and it's painful to get working compare to ruffle in which you just invoke it with a single command.)