File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ Magick = class {
7777 version
7878 = map parse_int (split (member ".-") version_string)
7979 {
80- output = vips_call9 "system"
81- ["'" ++ command_path ++ "' -version"] [ $log=>true,
82- $revalidate=>true ];
80+ output = vips_call9 "system" ["'" ++ command_path ++ "' -version"] [
81+ $log=>true
82+ ];
8383 version_string
8484 = (split (equal ' ') output)?1, use_gm
8585 = (split (equal ' ') output)?2;
Original file line number Diff line number Diff line change @@ -2399,8 +2399,14 @@ system_image command x
23992399 system im
24002400 = image_out
24012401 {
2402- [image_out, log] =
2403- im_system_image (get_image im) "%s.tif" "%s.tif" command;
2402+ [image_out, log] = vips_call9 "system" [command] [
2403+ $in => [get_image im],
2404+ $out => true,
2405+ $in_format => "%s.tif",
2406+ $out_format => "%s.tif",
2407+ $cache => true,
2408+ $log => true
2409+ ];
24042410 }
24052411}
24062412
You can’t perform that action at this time.
0 commit comments