Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 40 other subscribers
  • Archives

  • Categories

  • Stats

    • 426,453
  • Live Traffic

Archive for October 18th, 2012

ImageMagick: Using piped convert commands from java

Posted by Jai on October 18, 2012


ImageMagick fits best for most of the image manipulation operations. The convert command line utility meets most of the requirement. On top of that the additional features of convert command to pipe output of commands is really very handy. In this post we will see how we can use piped convert command line utility from java to achieve the same behavior.

Convert Command

ImageMagick Convert command allows to convert between image formats as well as many other image manipulations.

The different command line processing options are also allowed with the convert command.

Piped Convert Commands

ImageMagick permits image data to be read and written from the standard streams STDIN (standard in) and STDOUT (standard out), respectively, using a pseudo-filename of “-“.
Read the rest of this entry »

Posted in General, Tools | Tagged: , , , | Leave a Comment »

ImageMagick: Mogrify vs Convert? Which one to use and when?

Posted by Jai on October 18, 2012


ImageMagick provides the flexibility to use commands like mogrify and convert to do the same operation. Sometimes it is very hard for users to figure out which command line utility to use and in which scenario one would be better than other one.

In this post, we will have a look at some of such scenario where we will see which command will fit better than the other one.

Mogrify as stated in the documentation, is similiar to convert except that the original image file is overwritten.

Image Processing

Read the rest of this entry »

Posted in General, Tools | Tagged: , , | 1 Comment »