maddy_jay
7 years agoNew Contributor
Cant open Image of an object in python PIL
I have been trying to open the image of an object in Testcomplete using Python PIL library by converting the Testcomplete object into Picture object. But it is showing error as "AttributeError: The object does not support this property or method".
My code :
Sample_object = Sys.Process("vncviewer_latest")
Sample_pic_obj = Sample_object.Picture()
fin = Image.open(Sample_pic_obj)
How to solve this issue ?