← Back to team overview

phatch-dev team mailing list archive

[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)

 

This bug was fixed in the package phatch - 0.2.3-2

---------------
phatch (0.2.3-2) unstable; urgency=low

  * phatch.desktop and menu files are now shipped by phatch package
    (LP: #449210)
    - add lintian overrides for above changes (phatch depends on phatch-cli so
      everything is ok)

phatch (0.2.3-1) unstable; urgency=low

  * Upstream bugfix release (Closes LP: #448845, #446725, #445943)

phatch (0.2.2-1) unstable; urgency=low

  * Upstream bugfix release (Closes LP: #236548, #436595, #437161,
   #437376, #437852, #439108, #439359, #440273, #440956)
  * debian/control: Dropped dependency python-wxgtk2.6

 -- Julien Lavergne <julien.lavergne@xxxxxxxxx>   Tue,  13 Oct 2009
18:49:27 +0100

** Changed in: phatch (Ubuntu)
       Status: Confirmed => Fix Released

-- 
Actions with Image.blend fail on palette images (e.g. gif)
https://bugs.launchpad.net/bugs/436595
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Released
Status in “phatch” package in Ubuntu: Fix Released

Bug description:
Error 0:Can not apply action Desaturate on image 'chimp.bmp' in folder:
/home/nipun

images do not match

Action:{'fields': {'Amount': u'73', '__enabled__': 'yes'}, 'label': 'Desaturate'}

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/phatch/core/api.py", line 608, in apply_action_to_photo
    photo = action.apply(photo, read_only_settings, cache)
  File "/usr/lib/python2.6/dist-packages/phatch/core/models.py", line 106, in apply
    photo.get_layer().apply_pil(self.pil, **values)
  File "/usr/lib/python2.6/dist-packages/phatch/core/pil.py", line 708, in apply_pil
    self.image = function(self.image, *arg, **keyw)
  File "/usr/lib/python2.6/dist-packages/phatch/actions/desaturate.py", line 31, in grayscale
    grayscaled  = Image.blend(image, grayscaled, amount/100.0)
  File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 1945, in blend
    return im1._new(core.blend(im1.im, im2.im, alpha))
ValueError: images do not match
*



References