Comments (5)
Here's a pre-release with two new options:
-DrecursiveFrames
: parse frames recursively in sprites-DframeSize=[w,h]
: manual frame size override (in inches)
I think I get the correct output with:
java -jar swf-convert.jar pdf file-b.swf -DrecursiveFrames -DframeSize=[8.5,11]
I guessed for the dimensions but it looks right. You tell me if it works for other files if you have any.
from swf-convert.
I'm not sure I understand. If you have a .swf
file you can convert it to pdf or svg. Follow the instructions in the readme for how to run it.
from swf-convert.
the program you made converts the frame of the swf, but I need the one for the sprite of the swf. i'll send you a file, will you examine it? please open with jpexs flash decompiler and click sprites, you'll understand what I mean.
file-b.zip
from swf-convert.
Ok I made a change and it seems to work. The tool was made to parse only top-level frames and a single frame in sprites. Other frames in sprites were discarded since this is typically used for animation, not static content. I added an option to create pages for all frames in a sprite.
However there's another issue: your file indicates the frame dimensions to be 20x20 twips (1x1 pixel), so there's virtually nothing getting displayed. Are you aware of where the actual dimensions are set? If not, I can always provide an extra option to override the frame dimensions.
from swf-convert.
Maltaisn, thank you very much for all the hard work and effort you put into this project. I would like to opt for the option to change the dimensions manually. Can you send?
from swf-convert.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swf-convert.