Retouching with Perl

Some Like It Raw

Digital SLR cameras, such as the Nikon D70, will store your images in raw format on request. Of course, doing so consumes vast amounts of card space, and you will need to install the Ubuntu gimp-ufraw package to allow GIMP to handle the raw data.

Although GIMP can read the .nef formatted raw data, it can't actually store files in this format, which explains why picfix changes the file suffix to .png shortly before writing to tell GIMP to save the results in PNG format.


  1. Listings for this article:
  2. Grokking the GIMP by Carey Bunks:
  3. Additional GIMP and photo-manipulation books:
  4. Tutorial on the GIMP Perl interface:

The Author

Michael Schilli works as a Software Developer at Yahoo!, Sunnyvale, California. He wrote "Perl Power" for Addison-Wesley and can be contacted at His homepage is at

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Perl: Automating Color Correction

    If you have grown tired of manually correcting color-casted images (as described in last month's Perl column), you might appreciate a script that automates this procedure.

  • 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.

  • Photo Processing with GIMP

    Touch up your digital images with the GIMP image processing tool.

  • Gimp Scripting

    Many users turn to GIMP for pictures in the window, but some may not realize GIMP also has scripting capabilities that allow you to automate recurring tasks. The Python scripting language is a useful alternative to the GIMP’s integrated Lisp dialect.

  • GIMP 2.6

    After more than eight years of planning, GIMP 2.6 finally includes the Generic Graphics Library.

comments powered by Disqus

Direct Download

Read full article as PDF:

Perl_Retouching_Photos.pdf  (542.40 kB)


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia