bBox_Sips( mode; param1; {; param2; ...} )
Parameters:
mode:
0 = wait for output
4 = run command asynchronously (no wait)
32 = combine stderr & stdout output
…: one or more options to be sent to the sips commandResult:
output returned by sips command as textError:
bBox_LastError ("posix")Script Step:
none
––––––––––
First appeared in: 0.98
Examples in demo file: 0
Compatibility: macOS, Client, Server, WebDirect, WPE
––––––––––
Due to the number of parameters required, there aren’t currently any examples in the demo file. However, a text version of an example looks like this:
bBox_Sips (
32;
"-s"; "format"; "heic";
"/System/Library/Templates/Data/Library/User Pictures/Nature/Earth.png";
"--out" "/tmp/Earth.heic"
)
Notice in the above example that it requires each item to be a separate parameter, so a total of 7 parameters are used.
Only supported on macOS. See bBox_GraphicsMagick for a Linux compatible alternative, However GraphicsMagick is less likely to leverage available hardware (GPU, AltiVec, etc.).
See man sips in the Terminal for information on usage.