Script for processing digital camera photos

I have written a small script to make it easy to process digital camera photos.

You can use the script to optimise your photos before putting them up on the web. It does the following:

It creates a directory web and puts the processed photos in that so as to not alter the original images.

When you click photos vertically from a Digital Camera, it actually stores the photos horizonally and puts a rotate tag. Some of the viewers are not able to understand them.

This script looks for images with rotate tags, rotates them and removes the tag. This makes it easier to view on any image viewer.

The script also optimises the size of the image so as to save space. For example a 3.2MB pixel photo can take 1-2 MB of space, after using this script it is optimised to 1024×768 ( which is good for viewing on the screen) and uses only 100 KB of space.

It puts a copyright notice on the top right corner of the image.

And it changes the file name to lower case.

The script requires the following:

Linux, haven’t tested on anything else.
convert (part of imagemagick).
jhead
chcase. This requires Perl.

I have also found ren a nice tool to rename multiple files. Eg. If I have files called photos001.png.jpg, photos002..photos003… and I want to rename all of them to photos001.jpg ..photos002.. then I can do that by typing.

ren “photos*.*.*” photos#1.#3

Download the script from here.

See some of the photos which have been processed using this script in my photo album.

3 thoughts on “Script for processing digital camera photos”

  1. Cute script. I use something of this sort to convert the raw images on the CF card and then make them into large jpegs. hooray for convert 🙂

  2. Good job!! I checked your web log for the first time. Its amazing, how do u get the time to update it. Its really informative.

  3. File names of digital photo files generated by digital cameras, such as “DSCF0010”, “DSCF0011” are annoying. These file names make no sense. We need a file name that can remind us what the photo or picture is. EZ Photo Renamer can help you rename these annoying digital photo file names quickly. EZ Photo Renamer is a must-have handy file rename software for digital camera users.

    http://www.yaodownload.com/video-design/photoorganizers/ez-photo-renamer_photoorganizers.htm

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

A note to our visitors

This website has updated its privacy policy in compliance with changes to European Union data protection law, for all members globally. We’ve also updated our Privacy Policy to give you more information about your rights and responsibilities with respect to your privacy and personal information. Please read this to review the updates about which cookies we use and what information we collect on our site. By continuing to use this site, you are agreeing to our updated privacy policy.

Scroll to Top