Intro to Shell Programming: Writing a Simple Web Gallery
Mar 12, 2009, 21:17 (1 Talkback[s])
(Other stories by Akkana Peck)
"Your script will need to do some image operations like resizing
from the command-line. For that, I recommend ImageMagick, available
as a package in just about every Linux distro. Just apt-get install
imagemagick or yum install imagemagick or whatever your distro
prefers, and you're ready to go. If you prefer GraphicsMagick, a
fork of ImageMagick, that's okay too. All the basic commands are
the same.
"For this project, you'll also want a directory with some images
in it. You can create a directory with mkdir dirname or use your
favorite file manager. Then copy some images into it. Be sure to
copy, not move: you'll be making changes to images in this
directory, and you wouldn't want to overwrite the originals."
Complete
Story
Related Stories:
- The A-Z of Programming Languages: Bourne shell, or sh(Mar 05, 2009)
- Linux - Find latest file in a directory(Feb 26, 2009)
- 10 Tips for Writing Efficient Bash Scripts(Feb 02, 2009)
- Vi and Vim: 5 Awesome Examples For Automatic Word Completion Using Ctrl-X Magic(Jan 09, 2009)
- Learning C/C++ Step-By-Step(Jan 09, 2009)
- Book Review: C Programming: A Modern Approach by K. N. King(Nov 20, 2008)
- Learning the Craft of Programming(Sep 09, 2008)
- Review: Bash Cookbook(Aug 13, 2008)
- Linux Tools to Convert File Formats(Jul 23, 2008)
- Why Non-Technical Users Might Find Shell Scripting Useful(Nov 01, 2007)