Don't override the quality of jpg images
This commit is contained in:
parent
c5f5134502
commit
4b92bef219
@ -49,7 +49,7 @@ class GdkPixbufAbstractParser(abstract.AbstractParser):
|
|||||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file(self.filename)
|
pixbuf = GdkPixbuf.Pixbuf.new_from_file(self.filename)
|
||||||
if extension == '.jpg':
|
if extension == '.jpg':
|
||||||
extension = '.jpeg'
|
extension = '.jpeg'
|
||||||
pixbuf.savev(self.output_filename, extension[1:], ["quality"], ["100"])
|
pixbuf.savev(self.output_filename, extension[1:], [], [])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user