开发者

Is it possible to cut away transparent areas of Gtk-pixbuf?

I am currently using rsvg in Python to separate Svggroups. I got it working so that 开发者_StackOverflow中文版rsvg loads a single group ... alas all the transparent space around that still remains.

Is there a gtk functionallity to cut away all this space?

Thanks for all the answers!


There's nothing built-in but it's fairly simple to code it (walk over pixels, find the transparent ones). Unfortunately walking over pixels in python is probably slow.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜