1
0
mirror of synced 2024-12-22 12:50:13 +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