Marketplace:

 
Active-Venture.com: Cheap hosting for ecommerce and small business
Buy cheap domain registration with free domain search and forwarding services
Cheap domain registration: Register domain name and domain search services at affordable price

 

   

ImageMagick

next up previous contents index

ImageMagick is the tool for transforming images.

The command line mogrify is excellent for changing the size of an image. mogrify -geometry does that, maintaining the image's aspect ratio (the specified width and height are maximum values) append the geometry with an exclamation point to force a change to aspect ratio.

Rotate an image with -rotate

Reduce the colors in an image: mogrify -colors 2 filename

To also dither the image: mogrify -colors 4 -dither filename

Monochrome image: mogrify -monochrome filename

Annotate image: mogrify -comment 'Hi there' filename

Add borders to image (pixel width and height): mogrify -border 2x4 filename

Decorative border: mogrify -frame 20x20 filename


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " A language that doesn't have everything is actually easier to program in than some that do.   "  

Monday 1 December 2008 21:22:31 1228166551