- Timestamp:
- 2023-09-19T10:54:07+12:00 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ImageConverter.pm
r32783 r38163 96 96 'range' => "1,", 97 97 'reqd' => "no" }, 98 { 'name' => "disable_auto_orient", 99 'desc' => "{ImageConverter.disable_auto_orient}", 100 'type' => "flag", 101 'reqd' => "no" }, 98 102 { 'name' => "store_original_image", 99 103 'desc' => "{ImageConverter.store_original_image}", … … 508 512 509 513 # Generate and run the convert command 510 my $convert_command = "\"".&util::get_perl_exec()."\" -S gs-magick.pl --verbosity=".$self->{'verbosity'}." convert -interlace plane -verbose $convert_options \"$source_file_path\" \"$target_file_path\""; 514 my $convert_command = "\"".&util::get_perl_exec()."\" -S gs-magick.pl --verbosity=".$self->{'verbosity'}; 515 my $opt_auto_orient = ($self->{'disable_auto_orient'}) ? "" : "-auto-orient"; 516 517 $convert_command .= " convert -interlace plane -verbose $convert_options \"$source_file_path\" $opt_auto_orient \"$target_file_path\""; 511 518 512 519 my $print_info = { 'message_prefix' => $convert_id,
Note:
See TracChangeset
for help on using the changeset viewer.