开发者

SVG decoding - portable solution

开发者 https://www.devze.com 2023-01-07 05:55 出处:网络
I need fully functional vector format, which i can decode to plain bitmap data in my app. It doesn\'t need to be SVG, but it seemed best (but other suggestions are welcome). So, i need an lib to simpl

I need fully functional vector format, which i can decode to plain bitmap data in my app. It doesn't need to be SVG, but it seemed best (but other suggestions are welcome). So, i need an lib to simply rasterize SVG into plain pixel data - the simplier, the better. The problem is I need it for bada OS (it's OS for mobile phones), so i need to compile it directly with bada IDE. I found librsvg, but it seems it needs linux environment to build, so i can't use it 开发者_JS百科(but i'm not sure, i don't know much about linux - if there is a way to compile it normally, tell me). I also found graphics magick, which would be perfect, but it can't correctly decode the SVG files i need (SVG support is partial). Chrome, Firefox and Inkscape opens those files perfectly. So, what lib can i use for simple rasterization of SVG files? It can be C or C++, needs to be fully open source.


Use Cairo, specifically the cairomm library for C++.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号