开发者

How to get an outline path from an image in java?

How to get an outline path f开发者_运维知识库rom an image in java ? I mean I want to get a a path iterator of the path surrounding the image Ignoring any transparent area in it .


You should take a look at open source Delineate, which is a tool for creating SVG from raster images.

I don't know if it directly supports the "alpha-to-path" feature you need.

If nothing else, it has the pixel-based edge detection and SVG path generation logic in there, which could be hacked to work against alpha if you were suitably motivated.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜