Comment 3 for bug 236462

Revision history for this message
Stani (stani) wrote : Re: Phatch cannot manipulate with color indexed png

The fix is now in the bazaar repository. I'll try to add it to my ppa soon.

$ bzr diff
=== modified file 'phatch/core/pil.py'
--- phatch/core/pil.py 2008-04-05 19:23:49 +0000
+++ phatch/core/pil.py 2008-06-01 10:30:43 +0000
@@ -148,9 +148,9 @@
         return
     try:
         image = pyexiv2.Image(location)
+ image.readMetadata()
     except:
         return
- image.readMetadata()
     #exif & iptc
     for keys in [image.exifKeys(),image.iptcKeys()]:
         for key in keys:

$ bzr commit -m "fix indexed colour bug for pyexiv2"
Committing to: /home/stani/sync/python/phatch/trunk/
modified phatch/core/pil.py
Committed revision 534.