Changeset 20540
- Timestamp:
- 2009-09-07T11:44:10+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/ImageConverter.pm
r19540 r20540 339 339 my $convert_options = shift(@_) || ""; 340 340 my $convert_id = shift(@_) || ""; 341 my $cache_mode = shift(@_) || ""; 341 342 342 343 my $outhandle = $self->{'outhandle'}; … … 370 371 my $print_info = { 'message_prefix' => $convert_id, 371 372 'message' => "Converting image $source_file_no_path to: $convert_id $target_file_type" }; 372 373 $print_info->{'cache_mode'} = $cache_mode if ($cache_mode ne ""); 374 373 375 my ($regenerated,$result,$had_error) 374 376 = $self->autorun_general_cmd($convert_command,$target_file_path,$print_info); 375 377 376 378 return ($result,$target_file_path); 379 } 380 381 sub convert_without_result { 382 my $self = shift(@_); 383 384 my $source_file_path = shift(@_); 385 my $target_file_type = shift(@_); 386 my $convert_options = shift(@_) || ""; 387 my $convert_id = shift(@_) || ""; 388 389 return $self->convert($source_file_path,$target_file_type, 390 $convert_options,$convert_id,"without_result"); 377 391 } 378 392
Note:
See TracChangeset
for help on using the changeset viewer.