Introduction

It can be very useful to manipulate images through the command line. For example, to automate tasks.

Installation

For the following manipulations, we’ll need ImageMagick:

1
apt-get install imagemagick

Usage

Getting Information About an Image

1
identify -format "%wx%h" /path/to/image.jpg

Last updated 19 Sep 2009, 21:17 CEST. history