Linux Today: Linux News On Internet Time.

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: