Sharpen images with Perl and GIMP
To tell GIMP to parse the smartsharp script when it launches, you must install the script in GIMP's plugin directory with the following command line:
gimptool-2.0 --install-bin smartsharp
The gimptool-2.0 utility is provided by the Debian libgimp2.0-dev package. So that GIMP can understand Perl scripts, you also need to install libgimp2.0 and libgimp-perl.
If you are changing the image in any other way, resizing, or correcting the colors, make sure that sharpening is the last step you perform. Otherwise, the various methods could step on each other's toes and possibly even reverse the sharpening process.
Of course, if an image is badly out of focus, no kind of manipulation is going to make a mega-sharp masterpiece of it; techniques like the tricks I cover here in this article are just patchwork. Out-of-focus images contain less information than sharp images – removing information from an image is easy, but adding information is just about as difficult as getting toothpaste back into the tube.
- Listings: http://www.linux-magazine.com/Resources/Article-Code
- The Digital Photography Book by Scott Kelby: http://www.kelbytraining.com/books/
Read full article as PDF:
The Raspberry Pi Foundation has announced an even smaller version of the tiny computer that will fit into a DIMM slot.
A new class of problems lets a malicious app pre-configure an invisible privilege update.
New Hack language adds static typing and other conveniences.
New crypto policy system will offer easier configuration and more uniform security.
Ubuntu founder denounces insecurity in proprietary, close-source software blobs.
Vulnerability affects many Linux web servers
The Bavarian capital shuns Microsoft, Google, and other alternatives to implement an open source groupware solution.
Phone vendor partnerships bring Mark Shuttleworth's dream of Ubuntu on a phone a step closer to reality.
Donors will get to vote on new features for the free video editor.
Debian project puts init out to pasture and says no to Ubuntu's Upstart.