Sharpen images with Perl and GIMP

Installation

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.

Significant Order

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.

Infos

  1. Listings: http://www.linux-magazine.com/Resources/Article-Code
  2. The Digital Photography Book by Scott Kelby: http://www.kelbytraining.com/books/

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Tiling in GIMP

    Graphic artists often face the problem of turning a photograph into an image that will tile over a larger surface. This task is not as easy as it sounds, but if you’re up for the challenge, this tutorial will give you a first-hand look at some advanced tools in the GIMP toolkit.

  • Digital_Photo_Intro.pdf

    The Linux environment includes some powerful tools for editing, managing, and scanning digital images.

  • Perl: Retouching Photos

    In many cases, whole series of digital images need the same kind of modifications, which forces the photo-grapher to repeat the same steps time and time again in GIMP. Have you ever considered retouching in Perl?

  • Darktable 1.2

    Darktable shines as the most powerful free RAW converter, with impressive new features in the current version 1.2.

  • Perl: Photos Effects

    With the GIMP image editing program, and a little help from Perl, you can enhance your digital photos and transform a modern image into a nostalgic turn-of-the-century shot.

comments powered by Disqus

Direct Download

Read full article as PDF:

News