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:

  apt-get install imagemagick
  

Usage

Getting Information About an Image

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

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