FG
💻 Software

How do you use "sips" at the terminal to resize an image, without upscaling?

Fresh5 days ago
Mar 15, 20264339 views
Confidence Score0%
0%

Problem

I have some code that I've been using to resize images in Mac OS X via the command prompt (and/or quicksilver), to a maximum width or height of 500px. The only problem is that if the original image is smaller than 500px width or height, sips will upscale it. I would want it to just skip these image…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you use "sips" at the terminal to resize an image, without upscaling?

Low Risk

Process the output of and and use it in a condition, only performing the resize operation if desired. You can do the rest on your own.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment