开发者

PIL to pyvision conversion

开发者 https://www.devze.com 2022-12-30 02:41 出处:网络
How can a PIL imag开发者_如何学编程e be converted to a Pyvision image?Based on the documentation, http://sourceforge.net/apps/mediawiki/pyvision/index.php?title=Quick_Start_1, Pvvision image itself is

How can a PIL imag开发者_如何学编程e be converted to a Pyvision image?


Based on the documentation, http://sourceforge.net/apps/mediawiki/pyvision/index.php?title=Quick_Start_1, Pvvision image itself is PIL image.

The Image constructor accepts filenames as an argument and will then load that file from the disk as a PIL image. The Image constructor will also accept other python image objects. For example, if you pass a numpy matrix, PIL image, or an OpenCV image to the constructor it will crate a pyvision image based on that data.

0

精彩评论

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