Crouse
05-18-2005, 03:50 PM
I'm not sure if this is the correct forum to put this in, after reviewing the forums, I'm guessing it is. If not, could a mod please move it to the one you think is correct.
Anyway, I've started working on a script, a bash batch image processing script, bbips ;) It even has it's own website www.bbips.org What it is, is a Bash script (a long bash script) that will manipulate entire directories of Images (an entire directory of images all at once - not one image at a time) on your Linux system. I'm not sure if anyone here would even be interested in it, but I thought I would share it with you in case you were. It's still not real refined, but it works pretty well, I use it alot with all the images from our digital camera.
Some of the things it can do include
1) Rename all extentions (from JPEG to jpg etc etc)
2) Rotate Images
3) Create Thumbnails
4) Custom Resize Images
5) Resize Images to 400x400 max
6) Put Text on Images
7) Add Border to Images
8) Convert Images to Black and White
9) Flop Images Horizontally
10) Flip Images Vertically
11) Create photo gallery
and more......
The script makes use of ImageMagick and soon also jpegtran. I'm currently working on bulk removal of all exif data, and also to add specific exif data to images.... and also to add watermarks to images as well. The script is designed to be able to be run on a server via ssh or command line interface only..... so you don't need X to work with it.
The script is GPL'd and is just for fun and my benefit of learning Bash better. But since I've found it useful on many occasions, I wanted to share it. I would be very interested in hearing any suggestions on improving it from anyone, I know the code isn't real pretty ;) but it works for what I need it for.
http://www.bbips.org/images/bbips22.jpg
Let me know if you think of any suggestions for improving it..... (the script ---- not the website :D )
Download Current bash script:
http://www.bashscripts.org/downloads/Scripts/crouse/bbips/bbips0.2.3.sh
View script online:
http://www.bashscripts.org/downloads/Scripts/crouse/bbips/bbips0.2.3.txt
Anyway, I've started working on a script, a bash batch image processing script, bbips ;) It even has it's own website www.bbips.org What it is, is a Bash script (a long bash script) that will manipulate entire directories of Images (an entire directory of images all at once - not one image at a time) on your Linux system. I'm not sure if anyone here would even be interested in it, but I thought I would share it with you in case you were. It's still not real refined, but it works pretty well, I use it alot with all the images from our digital camera.
Some of the things it can do include
1) Rename all extentions (from JPEG to jpg etc etc)
2) Rotate Images
3) Create Thumbnails
4) Custom Resize Images
5) Resize Images to 400x400 max
6) Put Text on Images
7) Add Border to Images
8) Convert Images to Black and White
9) Flop Images Horizontally
10) Flip Images Vertically
11) Create photo gallery
and more......
The script makes use of ImageMagick and soon also jpegtran. I'm currently working on bulk removal of all exif data, and also to add specific exif data to images.... and also to add watermarks to images as well. The script is designed to be able to be run on a server via ssh or command line interface only..... so you don't need X to work with it.
The script is GPL'd and is just for fun and my benefit of learning Bash better. But since I've found it useful on many occasions, I wanted to share it. I would be very interested in hearing any suggestions on improving it from anyone, I know the code isn't real pretty ;) but it works for what I need it for.
http://www.bbips.org/images/bbips22.jpg
Let me know if you think of any suggestions for improving it..... (the script ---- not the website :D )
Download Current bash script:
http://www.bashscripts.org/downloads/Scripts/crouse/bbips/bbips0.2.3.sh
View script online:
http://www.bashscripts.org/downloads/Scripts/crouse/bbips/bbips0.2.3.txt