2016-05-25 06:34:50 |
Miguel SSM - Fotos y Cosas |
description |
Trying to apply my watermark, in every case it says "Cannot be applied: 'transparency'"
And the log is the following:
Error 0: Cannot apply Watermark action to picture 'file.JPG' en la carpeta:
/home/miguel/Pictures
'transparency'
Action:{'fields': {'Horizontal Justification': 'Right',
'Horizontal Offset': u'-5 %',
'Mark': u'/home/miguel/.local/share/phatch/watermarks/marcabold.gif',
'Method': u'By Offset',
'Offset': u'5 %',
'Opacity': u'60',
'Orientation': u'Normal',
'Position': u'Bottom Right',
'Vertical Justification': 'Bottom',
'Vertical Offset': u'-5 %',
'__enabled__': 'yes'},
'label': 'Watermark'}
Traceback (most recent call last):
File "/usr/share/phatch/phatch/core/api.py", line 614, in apply_action_to_photo
photo = action.apply(photo, read_only_settings, cache)
File "/usr/share/phatch/phatch/core/models.py", line 106, in apply
photo.get_layer().apply_pil(self.pil, **values)
File "/usr/share/phatch/phatch/core/pil.py", line 750, in apply_pil
self.image = function(self.image, *arg, **keyw)
File "/usr/share/phatch/phatch/actions/watermark.py", line 45, in watermark
orientation, opacity)
File "/usr/share/phatch/phatch/lib/imtools.py", line 274, in generate_layer
mark = convert_safe_mode(open_image(mark))
File "/usr/share/phatch/phatch/lib/imtools.py", line 826, in convert_safe_mode
del img.info['transparency']
KeyError: 'transparency'
*
Thanks in advance. |
Trying to apply my watermark, in every case it says "Cannot be applied: 'transparency'"
This issue happens in Ubuntu 16.04 after patching the problem with the general appearance of the application.
And the log is the following:
Error 0: Cannot apply Watermark action to picture 'file.JPG' en la carpeta:
/home/miguel/Pictures
'transparency'
Action:{'fields': {'Horizontal Justification': 'Right',
'Horizontal Offset': u'-5 %',
'Mark': u'/home/miguel/.local/share/phatch/watermarks/marcabold.gif',
'Method': u'By Offset',
'Offset': u'5 %',
'Opacity': u'60',
'Orientation': u'Normal',
'Position': u'Bottom Right',
'Vertical Justification': 'Bottom',
'Vertical Offset': u'-5 %',
'__enabled__': 'yes'},
'label': 'Watermark'}
Traceback (most recent call last):
File "/usr/share/phatch/phatch/core/api.py", line 614, in apply_action_to_photo
photo = action.apply(photo, read_only_settings, cache)
File "/usr/share/phatch/phatch/core/models.py", line 106, in apply
photo.get_layer().apply_pil(self.pil, **values)
File "/usr/share/phatch/phatch/core/pil.py", line 750, in apply_pil
self.image = function(self.image, *arg, **keyw)
File "/usr/share/phatch/phatch/actions/watermark.py", line 45, in watermark
orientation, opacity)
File "/usr/share/phatch/phatch/lib/imtools.py", line 274, in generate_layer
mark = convert_safe_mode(open_image(mark))
File "/usr/share/phatch/phatch/lib/imtools.py", line 826, in convert_safe_mode
del img.info['transparency']
KeyError: 'transparency'
*
Thanks in advance. |
|