# Resize images from command line on MacOS

DevFeed: [Resize images from command line on MacOS](<https://devfeed.tech/articles/resize-images-from-command-line-on-macos-27670.md>)

Original publisher: [Read original article](<https://gagor.pro/2021/11/resize-images-from-command-line-on-macos/>)

Author: Tom

Published: 2021-11-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [macOS](<https://devfeed.tech/topics/macos.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Image processing](<https://devfeed.tech/topics/image-processing.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [batch-image-processing](<https://devfeed.tech/tags/batch-image-processing.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [command-line-image-resizing](<https://devfeed.tech/tags/command-line-image-resizing.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [image-processing](<https://devfeed.tech/tags/image-processing.md>), [imagemagick](<https://devfeed.tech/tags/imagemagick.md>), [imagemagick-macos](<https://devfeed.tech/tags/imagemagick-macos.md>), [install](<https://devfeed.tech/tags/install.md>), [macos](<https://devfeed.tech/tags/macos.md>), [macos-cli-tools](<https://devfeed.tech/tags/macos-cli-tools.md>), [resize-images-macos](<https://devfeed.tech/tags/resize-images-macos.md>), [scale](<https://devfeed.tech/tags/scale.md>), [sips-tool-macos](<https://devfeed.tech/tags/sips-tool-macos.md>)

## AI overview

A tutorial on resizing and cropping images from the macOS command line. It presents a built-in tool for maintaining aspect ratios, setting maximum dimensions, and batch processing, then introduces ImageMagick for more advanced resizing and cropping workflows.

## Source excerpt

Learn how to resize images from the command line on MacOS using built-in tools like sips and third-party tools like ImageMagick for various use cases.