-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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); }; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Photon89
Author
Member
|
||
} 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; | ||
|
Just to check: did you intend to update this for both PNG and WEBP?