Monday, July 28, 2008

flip characters upside down - unicode trick

You ca get your sentences flipped using this link
http://www.revfad.com/flip.html

This a simple Unicode trick. view the page source of the above link, you can find a table that maps the usual characters to their flipped versions.

Wednesday, July 9, 2008

Image magic with ImageMagick

There are various graphical tools available for manipulating images. but Imagine doing this using command line. sounds geeky !
This can be useful when you want to perform the same action on large number of images. think about reducing the size/quality of 100's of images captured on your digital camera so that you can upload them to the internet, or email them.

ImageMagick is a collection of tools that can help you do this.
You can download it from http://www.imagemagick.org/script/index.php . On ubuntu install it by typing "sudo apt-get install imagemagick"
"man imagemagick" for man page of imagemagick.
You can also look at the man page of individual tools for more detailed information

Useful Links:
--------------
Imagemagick page:
http://www.imagemagick.org/script/index.php

found this page particularly useful.
http://www.imagemagick.org/Usage/

quick start to reduce image sizes:
http://www.linuxforums.org/forum/suse-linux-help/39848-how-reduce-jpeg-file-size-email.html