- Timestamp:
- 11/09/08 11:28:31 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PhotoarchivePlugin/lib/TWiki/Plugins/PhotoarchivePlugin.pm
r253 r476 35 35 36 36 #use TWiki::Plugins::PhotoarchivePlugin::; 37 #use TWiki::Func;37 use TWiki::Func; 38 38 #use CGI; 39 39 … … 389 389 390 390 # create descripted images 391 system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 391 #system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 392 # "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$sourcedescripted\""); 393 $sandbox->sysCommand("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 392 394 "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$sourcedescripted\""); 393 395 } … … 567 569 568 570 # create image 569 system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 571 #system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 572 # "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$sourcedetailed\""); 573 $sandbox->sysCommand("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 570 574 "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$sourcedetailed\""); 571 575 } … … 727 731 728 732 # create thumbnails 729 system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 733 #system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 734 # "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$sourcethumb\""); 735 $sandbox->sysCommand("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 730 736 "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$sourcethumb\""); 731 737 } … … 1014 1020 1015 1021 # create image 1016 system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 1022 #system("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 1023 # "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$destimage\""); 1024 $sandbox->sysCommand("$bin_anytopnm \"$sourceimage\" 2> /dev/null | ". 1017 1025 "$bin_pnmscale $pnmwidth $pnmheight | $bin_pnmtojpeg > \"$destimage\""); 1018 1026 }
Note: See TracChangeset
for help on using the changeset viewer.
