Case change for decoder

svn: r1533
This commit is contained in:
Alex Roitman 2003-05-15 03:19:43 +00:00
parent b3de8dd49b
commit 4d5f13b00e

View File

@ -1,7 +1,7 @@
#
# 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
# it under the terms of the GNU General Public License as published by
@ -110,7 +110,7 @@ class ImgManip:
if im.mode != 'RGB':
im.draft('RGB',im.size)
im = im.convert("RGB")
return im.tostring(pil.upper(),"RGB")
return im.tostring(pil,"RGB")
def jpg_thumbnail(self,dest,width,height):
self.fmt_thumbnail(dest,width,height,"jpeg")