diff --git a/share/shutter/resources/modules/Shutter/Pixbuf/Save.pm b/share/shutter/resources/modules/Shutter/Pixbuf/Save.pm index 60692e75..65438109 100644 --- a/share/shutter/resources/modules/Shutter/Pixbuf/Save.pm +++ b/share/shutter/resources/modules/Shutter/Pixbuf/Save.pm @@ -129,7 +129,7 @@ sub save_pixbuf_to_file { print "Saving file $filename, $filetype, $quality\n" if $self->{_common}->get_debug; - eval { $pixbuf->save($filename, $filetype, "tEXt::Software" => "Shutter", quality => $quality); }; + eval { $pixbuf->save($filename, $filetype, "tEXt::Software" => "Shutter", compression => $quality); }; } elsif ($filetype eq 'bmp') { eval { $pixbuf->save($filename, $filetype); }; } elsif ($filetype eq 'webp') { @@ -147,7 +147,7 @@ sub save_pixbuf_to_file { print "Saving file $filename, $filetype, $quality\n" if $self->{_common}->get_debug; - eval { $pixbuf->save($filename, $filetype, "tEXt::Software" => "Shutter", compression => $quality); }; + eval { $pixbuf->save($filename, $filetype, "tEXt::Software" => "Shutter", quality => $quality); }; } elsif ($filetype eq 'pdf') { print "Saving file $filename, $filetype\n" if $self->{_common}->get_debug;