this crashes python, not sure what is going on… anyone have any insight?
openImage = Image.open(self._path.open(‘rb’))
openImage.show(command = ‘display’) # <-- this seems to crash out!!!
I’ve tried:
openImage.show()
I’ve had this working in the past … but I am on a new machine, probably a different version of python, maybe a different version of PIL.
This works fine as an alternative (as does just displaying a QtImage in tool)
psApp = comtypes.client.CreateObject("Photoshop.Application")
psApp.Open(r'{0}'.format(self._path))