Questions tagged [sips]
Sips - Scriptable Image Processing System - is a command line interface to Apple's Core Image framework.
13 questions
1
vote
2
answers
717
views
What does sips --man option do
sips, or “scriptable image processing system” is a command-line tool shipping by default with macOS which allows basic image manipulation (think ImageMagick but not as powerful).
I found something odd ...
1
vote
1
answer
828
views
Sips: resize image's smallest side, not largest side
The command sips -z 2000 image.jpg will resize the biggest side of an image to 2000 if it is greater than 2000, while preserving the original aspect ratio.
Is there a similar command that will resize ...
2
votes
1
answer
409
views
force sips command to write output to stdout
I wrote a script that convert a icns file to png and then encode the png with base64.
I could do it in 2 steps:
sips -s format png test.icns -o test.png
base64 -w0 test.png
But since test.png is ...
8
votes
2
answers
7k
views
Convert .png image icon to .icns file (MacOS)
What command can I type in my BASH shell to convert a given icon in png format into the icns image format required by Apple .app directories?
1
vote
0
answers
344
views
Sips image resize: Background cover
Using SIPS, I can proportionally resize an image using sips -Z 256 to reduce the width and height of my image to a size no larger than 256px. Over a padded background fill, this produces a result ...
1
vote
1
answer
3k
views
Command line to create a PDF document from a batch of images [duplicate]
How to create a PDF document from a batch of images ?
===
Belowis what I tried before posting this question:
The ImageMagick way, but the PDF document generated is too big:
convert *.ppm book.pdf
...
0
votes
1
answer
1k
views
Can I use SIPS to reduce the size of PNG files by reducing the number of palette colors?
I need to shrink PNG files like the ones generated as the default macOS screenshot. SIPS was my first stop since it's faster than any other solution but I haven't quite been able to find the right ...
3
votes
2
answers
719
views
Trying to pass images to shell command using automator
I am creating this service for Finder that will receive image files and pass to a shell command.
The idea is this:
I select image files on finder.
I right click and choose the service I am creating
...
2
votes
1
answer
1k
views
Use sips to pad just the top of an image
I'm trying to add padding to the top of an image using the command line.
I've found the sips command and I've tried
sips --padToHeightWidth 1300 1920 image.png
on an image which is 1920 x 1080.
...
1
vote
1
answer
955
views
SIPS: Only Resize if Image is 315x300?
I'm currently using sips --resampleHeightWidth 250 300 "S1" to resize new images in a folder but I think that it might be resizing images that were already resized.. Is there anyway to know this for ...
0
votes
3
answers
1k
views
Batch-processing Image Files in a Folder using a folder action with Automator
I'm trying to resize new image files in a folder using a folder action so the files that were already resized to 300x250 don't get resized again. The thing is I'm having issues getting the resizing ...
3
votes
1
answer
400
views
Sips not working with pict, qtif and sgi files
The terminal command sips -s format pict /path/to/image.ext --out /path/to/output.pic ouputs Error: Unsupported output format com.apple.pict even though if you do man sips and go down to format, there ...
5
votes
2
answers
2k
views
Why setting image as its own icon with sips result a blurred icon? Are there any alternatives?
I've successfully changed icons using the procedure described in an another question: Changing or setting a file or folder icon programmatically. Either my sips (or Finder) got broken afterwards or I ...