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

comments powered by Disqus

Direct Download

Read full article as PDF:

Perl_Retouching_Photos.pdf  (542.40 kB)