[Image-SIG] Image to Matrix to Image.

Jeff Hull jsh2134 at gmail.com
Wed Mar 4 01:52:39 CET 2009


I am having the same problem. I can not save this image after i edit its
data.

im = myimage.load()

...do stuff to im...

im.save('jeff', "JPEG")


Traceback (most recent call last):
  File "numberfinder.py", line 116, in <module>
    main()
  File "numberfinder.py", line 97, in main
    imL = applyMask(imL, immask)
  File "numberfinder.py", line 113, in applyMask
    return im.save("jeff", "JPEG")
AttributeError: 'PixelAccess' object has no attribute 'save'


what do i convert the PixelAccess object to so that I can save it?


thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090303/7c4751e1/attachment.htm>


More information about the Image-SIG mailing list