phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00574
[Bug 436595] [NEW] Desaturation works only if it's set to 100, error otherwise
Public bug reported:
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
*
** Affects: phatch
Importance: Undecided
Status: New
--
Desaturation works only if it's set to 100,error otherwise
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!: New
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
*
Follow ups
-
[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)
From: Launchpad Bug Tracker, 2009-10-13
-
[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)
From: stani, 2009-10-07
-
[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)
From: stani, 2009-10-02
-
[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)
From: stani, 2009-10-02
-
[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)
From: stani, 2009-10-02
-
[Bug 436595] Re: Actions with Image.blend fail on palette images (e.g. gif)
From: stani, 2009-10-02
-
[Bug 436595] Re: Desaturation works only if it's set to 100, error otherwise
From: stani, 2009-10-01
-
[Bug 436595] Re: Desaturation works only if it's set to 100, error otherwise
From: stani, 2009-09-30
-
[Bug 436595] Re: Desaturation works only if it's set to 100, error otherwise
From: stani, 2009-09-25
-
[Bug 436595] [NEW] Desaturation works only if it's set to 100, error otherwise
From: nipunreddevil, 2009-09-25
References