Open l2nkxk8z opened 5 days ago
And what's wrong with conversion? Some examples maybe?
Sorry. it comes out blurry. I think the problem may be resizing, by default it was 200x200 and I changed it but 200x200 didn't seem ideal either, not sure if some scaling mode fixes is this but I've head a very similar result with graphicsmagick. here's an example:
SVG
PNG imagetoolbox
PNG librsvg
You large image output, svg needs more space to draw normally
You need to set large image output, svg needs more space to draw normally
Not sure what you mean by image output, I did change height and width to same one as rsvg. are you talking about something else?
I'm about size, try 1000*1000 i can't change the Library now btw
I tried 4000x4000 and it still was blurry. alright, it's not a big deal if you can't change it.
I have troubles with compiling native libraries by ndk, but if there's pre compiled one with jni bindings, i can add this easily
I don't know enough about software development to give you an advice, maybe there is another library that has better android support.
I found this list of some libraries, might be useful: https://github.com/zhanba/awesome-2d-graphics-rendering?tab=readme-ov-file#2d-renderer
😢
Is your feature request related to a problem? Please describe. I've tried converting an SVG image to PNG and got terrible results.
Describe the solution you'd like Integrate librsvg or lunasvg library for conversations.
Describe alternatives you've considered