[Sync] imagemagick creates progressive jpegs

This commit is contained in:
Roman Timashev committed 2017-10-12 17:29:45 +03:00
1 parent 96bb77e3c3
commit 1eb15970fe
1 file changed
+2
+2
View File
@@ -3,6 +3,7 @@ from subprocess import call
async def image_magick_resize(input_file, output_file, size, quality=85):
interlace = 'Plane'
s = '%dx%d' % size
cmd = [
@@ -10,6 +11,7 @@ async def image_magick_resize(input_file, output_file, size, quality=85):
'"%s"' % input_file,
'-strip',
'-interlace', interlace,
'-auto-orient',
'-resize', s,
'-quality', str(quality),