h1. Installing and using ImageMagick Jun 23, 2015 *On my local Linux Mint (Ubuntu) @apt-get install imagemagick perlmagick@ If package not found, then first do: @apt-get update@ and then try the install again. h2. EXIF Data http://stackoverflow.com/questions/1708417/how-can-i-extract-exif-data-using-perlmagick http://hacktux.com/read/remove/exif may want: @apt-get install libimage-exiftool-perl@ @exiftool coreopsis.jpg@ will provide some info about the image. but this might be better: @apt-get install jhead@ @jhead coreopsis.jpg@ if want to remove exif data from an image: q. After ImageMagick is installed, you will have /usr/bin/mogrify available. The mogrify command can be used to strip Exif data from images. mogrify -strip imagename.jpg If you need to process a large number of files, use find and xargs: find ./folder_of_images -name '*.jpg' | xargs mogrify -strip q.. hr. Perl usage http://www.imagemagick.org/source/examples.pl hr. did not need to execute these commands. @apt-get install libconfig-yaml-perl@ @perl -MCPAN -e 'install Image::Magick' hr. install CPAN reload CPAN hr. check Ubuntu version @lsb_release -a@ h2. orientation fence.Value 0th Row 0th Column 1 top | left side 2 top | right side 3 bottom | right side 4 bottom | left side 5 left side | top 6 right side | top 7 right side | bottom 8 left side | bottom fence.. h2. Links http://www.imagemagick.org/script/perl-magick.php http://www.imagemagick.org/script/examples.php http://www.imagemagick.org/source/examples.pl http://www.graphicsmagick.org/perl.html http://sylvana.net/jpegcrop/exif_orientation.html