-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stumpy_jpg #9
Comments
I'm glad you like it! As far as I know there is no jpg version, The jpg loader for https://github.com/PistonDevelopers/image seems to be ~3k LOC long, Would you be interested in working on something like that? |
While this is still a bit fresh, and going somewhat further into madness, do you know of any efforts to build an SVG renderer in Crystal? I've just started experimenting with it half-heartedly (due to immense frustration with both PhantomJS and Batik recently), but it's my first bit of Crystal and will probably be a disaster. 🚀 So I'd be keen to hear of similar efforts. |
As far as I know there are no such projects. If your goal is to render arbitrary svg images into some pixel based format,
What do you want to build on top of that renderer? |
Thanks @l3kn, you're right that it's a very big specification. My original use-case was converting an Impress animated presentation into something that could be added to a video, but the closest export format seems to be SVG 1.2. After many hours of experimentation with PhantomJS's renderer (jerky) and the Java Batik library (a mess of excessive abstractions), I decided to try writing the simplest possible program in Crystal that would convert an SVG animation into a stream of PNGs. It's more of a learning experiment than anything else, but you're right to point out the large number of difficult steps ⛰️ [update] |
Just use Cairo or Qt |
I've been working on a stumpy_jpeg shard, but at the moment it only supports reading. |
That's awesome, I'm happy to see people are still working on this. Let me know if you want to be added to the Of course you'd keep the full control over your code |
That would be great! There's still some changes I would like to make before that's done though. Would that be fine? |
Sure, take your time. You should be able to create a new repository here once you're done |
@l3kn Thanks for the great library! Anyone working on a JPG version?
The text was updated successfully, but these errors were encountered: