Changeset 728 for trunk/LeMillTool.py


Ignore:
Timestamp:
09/06/06 16:07:54 (13 years ago)
Author:
jukka
Message:

Closed #704, spent 20h. Tried to do chapter editing without page reloads, but kupu doesn't want to have several instances of itself in one page, so redid page with massive use of buttons and forms. Multichapter stuff is saved as one list, where each part is either string with text or string that is UID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LeMillTool.py

    r671 r728  
    136136            im = im.resize((int(width),int(height)), Image.ANTIALIAS) 
    137137        s = cStringIO.StringIO() 
    138         if im.mode == 'P': 
    139             im.save(s, "PNG") 
    140         else: 
    141             im.save(s, "JPEG", quality=95) 
     138        im.save(s, "PNG") 
    142139        s.seek(0) 
    143140        return s, im 
Note: See TracChangeset for help on using the changeset viewer.