Case change for decoder
svn: r1533
This commit is contained in:
parent
b3de8dd49b
commit
4d5f13b00e
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000 Donald N. Allingham
|
# Copyright (C) 2000-2003 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -110,7 +110,7 @@ class ImgManip:
|
|||||||
if im.mode != 'RGB':
|
if im.mode != 'RGB':
|
||||||
im.draft('RGB',im.size)
|
im.draft('RGB',im.size)
|
||||||
im = im.convert("RGB")
|
im = im.convert("RGB")
|
||||||
return im.tostring(pil.upper(),"RGB")
|
return im.tostring(pil,"RGB")
|
||||||
|
|
||||||
def jpg_thumbnail(self,dest,width,height):
|
def jpg_thumbnail(self,dest,width,height):
|
||||||
self.fmt_thumbnail(dest,width,height,"jpeg")
|
self.fmt_thumbnail(dest,width,height,"jpeg")
|
||||||
|
Loading…
Reference in New Issue
Block a user