Fix 0008234: part (2) Various problems with
docgen.TextDoc.add_media_object part (2) for master branch
This commit is contained in:
parent
4af340c1e1
commit
c57f574cb8
@ -100,7 +100,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", "", "")
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user