Canon Image Resizer Script v .5 – smallver.py
Filed under: Linux, Photography, Programming, Software
Canon DSLR camera’s can produce amazing photographs, though the problem arises in holding those files. Even a bigger problem to e-mail it. A `simple’ image from a 40D in best quality will easily produce an image of 5MB. Not exactly e-mail worthy, nor website worthy for displaying. Sure, it’s great if you want people to see it in best quality AND wait forever to actually see it.
So, being a user of a 40D I needed a way to quickly resize (scale down) all the pictures, in a command line way. I also needed plenty of other features which I really did not feel like manually typing all the time. Thus out came my smallver.py script (smallver dot Py).Currently still in beta and in version .5. Also it’s made for linux and in python 2.5. Though I’m pretty sure it’ll work in py 2.4.
This script is in essence a wrapper for Imagemagick (which is requied for use). IM had a lot things that bothered me, so I wrapped all of it in a easy script. Here is what my script will currently do (more or less in order):
- Find all .jpg and .jpeg files in a given folder
- ignoring all not supported files (will add quick raw support soon)
- Create a ’small_ver’ folder to place all the scaled down files into
- Current scaling is down to 1200×800
- Create all scaled down images in ’small_ver’ folder
It has several useful features, here is a mostly complete list of current features:
- Image scaling using ImageMagick
- Image filtering (selecting only image files)
- Multiple file and folder input
- Command line version for quick and easy access
- Selecting your own ’small’ version tag
- Overwrite and non-overwrite ’small_ver’ modes
- Small version folder selection
- (Poor) non-standard file dimension handling
- and more …
I have also left the comments in in this release. Hopefully they will be useful to others should they choose to look at the code.
Download: smallvery.py
Sphere: Related ContentPhotography Portfolio is finally up
After much whining and pestering myself, I have my new photography website AND portfolio up. Soon the photography link on this site will point directly there, hopefully making things a little more organized.
On my Photography Website there will be a plethora of information not just about my photography, but also tutorials, information, tips, guides, and a whole slew of goodies!
Already on there are links to several great tutorials and resources for Photoshop users, about digital art and photography editing. I hope to have more good information for all of you soon.
Piotr Krzyzek’s Photography: http://photography.piotrkrzyzek.com/
p.s.: Here is a quick look at some of my newest art:
Sphere: Related ContentCanon 40D Firmware 1.1.1 Update
Seems that Canon came out with a new firmware for the 40D, firmware version 1.1.1. With this update they bring us five big fixes, most of which do not effect most people. Though, for those of you who had problems good luck.
You can download the from the following website: Canon EOS 40D Firmware Download
Scroll all the way down to the bottom of the page and click “Agree”. Then you will be taken to the download page. You can select either a Windows version download (an exe) or a Mac version download. Both are self-extracting files. In Linux, all you need is Wine in-order to run the Windows based file without issues.
More info after the jump.
Sphere: Related Content

