- to png
- note in photo.log

** Changed in: phatch
   Importance: Undecided => Medium

** Changed in: phatch
     Assignee: (unassigned) => Nadia Alramli (nadiana)

** Changed in: phatch
       Status: New => Confirmed

-- 
An exception when attempting to save an svg as <type>
https://bugs.launchpad.net/bugs/419459
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Confirmed

Bug description:
The save action by default save's the image in it's current format type. That 
doesn't work for svg obviously. So we need to use an alternative type for it 
like png.

Traceback (most recent call last):
  File "/home/nadia/projects/phatch/phatch/core/api.py", line 311, in 
apply_action
    photo = action.apply(photo, setting, cache)
  File "/home/nadia/projects/phatch/phatch/actions/save.py", line 157, in apply
    **options)
  File "/home/nadia/projects/phatch/phatch/core/pil.py", line 647, in save
    image.save(filename, **options)
  File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 1390, in save
    raise KeyError(ext) # unknown extension
KeyError: u'.svg'

_______________________________________________
Mailing list: https://launchpad.net/~phatch-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~phatch-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to