1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Don't override the quality of jpg images

This commit is contained in:
jvoisin 2018-04-16 22:24:41 +02:00
parent c5f5134502
commit 4b92bef219

View File

@ -49,7 +49,7 @@ class GdkPixbufAbstractParser(abstract.AbstractParser):
pixbuf = GdkPixbuf.Pixbuf.new_from_file(self.filename)
if extension == '.jpg':
extension = '.jpeg'
pixbuf.savev(self.output_filename, extension[1:], ["quality"], ["100"])
pixbuf.savev(self.output_filename, extension[1:], [], [])
return True