Fix 0008234: Various problems with docgen.TextDoc.add_media_object part

(2) for gramps40 branch
This commit is contained in:
kulath 2014-12-15 20:34:25 +00:00
parent 620000e863
commit 8117190a52

View File

@ -102,7 +102,7 @@ def resize_to_jpeg(source, destination, width, height, crop=None):
(width, height) = image_actual_size(width, height, img.get_width(), img.get_height())
scaled = img.scale_simple(int(width), int(height), GdkPixbuf.InterpType.BILINEAR)
scaled.savev(destination, "jpeg" "", "")
scaled.savev(destination, "jpeg", "", "")
#-------------------------------------------------------------------------
#