Book review: ImageMagick Tricks by <i>Sohail Salehi</i>

Book review: ImageMagick Tricks by Sohail Salehi


ImageMagick, as many would know, is a software suite for image manipulation and display, supporting a wide variety of formats. But, what is less widely known is the many facets it has, and the wide array of things that can be done with it. This book gives you more than a hint of all that’s possible.

There’s more (much more) to ImageMagick than you thoughtThere’s more (much more) to ImageMagick than you thought

A smart, detailed book on a free software program which, one hardly realises, is actually so versatile. Detailed and useful.

Iran-born Salehi did a good job in coming up with a number of details about ImageMagick, which I hardly knew existed! From its core utilites to much more

The contents

ImageMagick is a powerful tool. With the help of just a few keystrokes at the command-line, one can edit photos, create thumbnails, filter images, and much, much more. But who actually can remember the complex ImageMagick set of commands?

Not that one always needs an entire book for remembering these commands; there is always the web. Yet, it can be helpful to have a text that lets you know various facets of the power you didn’t even suspect existed in the software you’re using.

But let’s start at the beginning: “ImageMagick (TM) was introduced in 1999 by ImageMagick Studio LLC for the first time. It is a graphical application used for performing image processing tasks. It is a powerful collection of tools and libraries to read, write, and manipulate images in about 100 formats.”

Iran-born Salehi does a good job in coming up with a number of details about ImageMagick, which I hardly knew existed! From its core utilites to much more.

ImageMagick allows you to do a number of basic functions with images—display, convert, import, animate, composite, create a montage, mogrify, conjure, and identify.

Claims the book: “This fast-paced and practical tutorial is packed with examples of photo manipulations, logo creation, animations, and complete web projects. With this book up your sleeve, you’ll be creating spellbinding images from code in no time.”

From ImageMagick’s “core utilities” (chapter one), we move on to installing the software, and specific commands like convert and mogrify; composite and montage; or identify, display and import.

Chapters three to seven elaborate on the more-basic capabilities of ImageMagick. One chapter (ch six) is devoted to animation, apart from other topics. Some ideas are easy even for a non-techie to understand. Chapter eight focuses on practical web projects.

Some of the best chapters are saved for the last. There are detailed tips on how to create customized e-cards and even a wizard for this purpose. Even how to create neat book covers, all with ImageMagick. There are two appendices—on installing new fonts, and compression in ImageMagick.

Salehi keeps reminding us of ImageMagick’s power: “You may not believe how easy ImageMagick can do it (resizing about 3000 photos of different sizes and formats and place a watermark on them) for you. With a single command you can resize, watermark, add effects, frame, arrange, convert, format, and do many more tasks on a single image or a bunch of various images.”

Salehi admits the limitations in the book itself: if you are a programmer using compilers or server-side languages like PHP, you could find your favourite ImageMagick API for your compiler. Yet, as the author points out, space limitations meant the book “concentrates just on command-line utilites”. We are told that “maybe” titles on other ImageMagick API’s will be published in time.

Who’s this book for?

This book calls itself a “fast-paced and practical tutorial” that is “packed with examples of photo manipulations, logo creation, animations, and complete web projects”. It adds: “With this book up your sleeve, you’ll be creating spellbinding images from code in no time”. And it promises to be a book for “anybody who wants to learn ImageMagick” even if you are not “an expert in Unix commands or image processing (but just have) lots of imagination and a smattering of creativity”.

Relevance to free software

ImageMagick is free software, and this book is directly relevant to it. If graphics is your field, and free software your commitment, this is a “worth-it” title. I learnt a lot reading it...

Pros

Why people should buy it

  • Detailed and comprehensive
  • Specialised towards one specific program
  • Simple to-the-point language and style

Cons

Why people shouldn’t buy it:

  • Too detailed, unless you’re into this subject
  • Price factor
Title ImageMagick Tricks: Web Image Effects from the Command Line and PHP
Author Sohail Salehi
Publisher Packt Publishing, Birmingham-Mumbai, www.packtpub.com
ISBN 1904811868
Year of publication June 2006
Pages 216
Price US$34.99
CD included No
FS Oriented 9/10
Over all score 6/10

In short

Category: 
License: 

Comments

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!