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
2010-05-14 18:56:34
Thank you, problem solved!
2010-05-14 19:37:29