Tuesday, November 27. 2007
Gimp-resynthesizer is a texture synthesis plugin for the Gimp. It can be used to create additional quantities of a texture, make a tileable texture, or remove objects from an image.
Once installed, gimp-resynthesizer provides some new entries in the Gimp menus:
I found the Smart remove selection script a particularly useful timesaver, especially when the area surrounding the selection was of a consistent natural texture (such as leaves, branches, or gravel). Today's screenshot shows a picture of a chipmunk on gravel with the corner of a car included in the shot, and then with the car removed by Smart remove selection (with a bit of manual cloning to soften the transition). There's also a shot of some leaves converted into a tile for use as a desktop background.
This package does not include a manpage; for documentation, refer to the file /usr/share/doc/gimp-resynthesizer-0.15/README and the upstream website.
Installing from the command line: yum install gimp-resynthesizer
Tuesday, September 11. 2007
Hugin is a GUI tool for stitching photos together. Although it works best with photos that are very carefully taken -- for example, by panning a camera on a tripod -- it does an admirable job even when given a group of photos shot from roughly the same position using a handheld camera.
The tab-based interface of this program walks you through the steps of creating a panorama photo: selecting the photos, specifying differences in the lenses, setting up control points (corresponding locations on pairs of photos), optimizing, and then stitching. At most steps in the process you can make fine manual adjustments or let the program work automatically.
Hugin is actually a graphical front-end to processing provided by libpano, a library from the Panorama Tools project originally created by Professor Helmut Dersch of the University of Applied Sciences Furtwangen. The Panorama Tools project is now maintained by a number of developers including five Google Summer of Code students who worked on some substantial improvements over the past few months -- so we can look forward to new capabilities in this software in the future.
Installing from the command line: yum install hugin
Tuesday, September 4. 2007
Lilypond is a music engraving program -- a "typesetter" for music. It accepts files written using a simple notation and produces PDF, PNG, Postscript, SVG, or TeX files, and can also produce MIDI files. It includes features for orchestral scores, variables, chords, lyrics, and more.
In addition to the Lilypond software, the Fedora repositories contain a lilypond-doc package with documentation and sample files. Once installed, the documentation is accessible at /usr/share/doc/lilypond-doc-2.10.13/index.html and provides a simple and clear explanation of the input notation and and some examples of the program's capabilities. Lillypad is invoked from the command line with the name of an input file, and by default produces MIDI, Postscript, and PDF output in a single pass:
Lilypond output looks very impressive (as shown in the image, generated from sample files included in the documentation package -- click for a PDF) and can be extensively tweaked in the input markup.
Installing from the command line: yum install lilypond lilypond-doc
Tuesday, August 28. 2007
KoverArtist is a tool for creating CD and DVD case art. Rather than provide unlimited artistic control, it's designed to let you put together a good-looking cover quickly: select the type of case, a couple of photos, placement options and text effects, the enter the text and hit print. You can put a CD in your drive and import title and track info from an online database with one click, and another click will launch a Google image search for pictures related to the disc title.
Installing from the command line: yum install koverartist
Tuesday, August 21. 2007
Gallery2 is an easy-to-use web-based photo gallery, built on PHP, which has many available plugins and an active user community. Once installed, it's accessible at http://Hostname/gallery2/; the first time you access that page, you'll have to go through an 11-step setup process, which requires an SQL database (such as MySQL or PostgreSQL) installed somewhere on your LAN and access to a root shell prompt.
The Gallery2 setup process is unfortunately not compatible with SELinux, so you will need to either temporarily disable SELinux (setenforce 0) and then re-enable it after setup (setenforce 1), or adjust the security context of the /etc/gallery2/config.php file.
Many of the Gallery2 modules are available in the Fedora repositories; to see the list, search for gallery2 in the Package Manager's Search tab, or enter the command yum list 'gallery2-*'. These modules may also be installed through the Gallery2 admin interface, but doing so will require that you change the permission of a couple of directories and adjust or disable SELinux -- so I recommend installing the modules using the Fedora package management tools.
Installing from the command line: yum install gallery2
Tuesday, August 14. 2007
RenRot is a simple but very useful command-line tool. It renames photo files based on information in the EXIF tags within the photo file. By default, it will rename each photo to the year, month, day, hour, minute, and second that it was taken. It will also rotate images based on the orientation data in the EXIF tags, if present (this requires a camera with a mercury switch or other orientation-sensing mechanism).
You can use the -n option to specify a naming template using a syntax similar to that used by the date command -- so you could rename files to the format YYYY-MM-DD-c-Iiii.jpg, where YYYY is the year, MM is the month, DD is the day, cc is a sequence (counter) number, and iii is the ISO sensitivity, using this command:
RenRot offers a number of other features, including aggregation (grouping into directories by moving files or creating symlinks), which can be performed according to gaps between image groups, the date on which each photo was taken, or custom criteria. RenRot can also add (or change) EXIF tags to store information such as comments about the photos. The well-written manpage for the program (man renrot) has all of the details.
Installing from the command line: yum install renrot
Tuesday, August 7. 2007
Some time ago the unpaper package was featured. It's a powerful tool for cleaning up scanned images -- but it's a command-line tool.
Gscan2pdf is a one-stop GUI tool for the production of high-quality PDFs from scanned images, providing a graphical front end for xscanimage, unpaper, gocr or tesseract, and other tools. Cleaned-up scanned images are presented in one pane, and OCR text in another. Images may be saved in PDF, Jpeg, Tiff, or PNG formats.
Although Gscan2pdf does not permit you to adjust configuration options and view their effects without re-scanning the source image, once it is properly configured for a particular input document it enables a very efficient scanning workflow.
Installing from the command line: yum install gscan2pdf
Tuesday, July 31. 2007
Netpbm is a venerable collection of over 300 short programs that manipulate graphics files. These programs use their own, generic graphics formats for raster images:
To process an image with Netpbm, convert it to one of these formats, perform some processing on it, and then convert it back into the format of your choice. Most of the pgm programs are designed to be connected together in a pipeline; for example, this pipeline will create a GIF thumbnail with a maximum with or height of 200 pixels for a TIFF input image:
Bash's programming features can be used to automate the processing of huge numbers of files:
Installing from the command line: yum install netpbm-progs
php_network_getaddresses: getaddrinfo failed: Name or service not knownphp_network_getaddresses: getaddrinfo failed: Name or service not known