views:

49

answers:

1

How can a PIL image be converted to a Pyvision image?

+1  A: 

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.

Dingle
Thank you, problem solved!