I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-06-11 11:38:24-07 by linuxuser
How to extract JPG-Files (not thumbnails) from a PEF-file
I have PEF-Files from a Pentax K100D, which should contain a thumbnail _and_ a jpg-file. How can I extract the jpg-file and not the thumbnail?
Direct Responses: 10939 | Write a response
Posted on 2009-06-11 11:47:31-07 by exiftool in response to 10938
Re: How to extract JPG-Files (not thumbnails) from a PEF-file
The K100D PEF images contain 3 jpgs, the ThumbNailImage, PreviewImage and JpgFromRaw:

> exiftool PentaxK100D.pef -thumbnailimage -b > a.jpg > exiftool a.jpg -imagesize Image Size : 160x120 > exiftool PentaxK100D.pef -previewimage -b > a.jpg > exiftool a.jpg -imagesize Image Size : 640x480 > exiftool PentaxK100D.pef -jpgfromraw -b > a.jpg > exiftool a.jpg -imagesize Image Size : 3008x2000

- Phil
Direct Responses: 10940 | Write a response
Posted on 2009-06-11 12:38:31-07 by linuxuser in response to 10939
Re: How to extract JPG-Files (not thumbnails) from a PEF-file
Thanks a lot, Phil! How can I pipe the exiftool result to convert? I would like to resize it to a smaller size. Something like convert - -resize 500x outpug.jpg
Direct Responses: 10941 | Write a response
Posted on 2009-06-11 12:54:46-07 by exiftool in response to 10940
Re: How to extract JPG-Files (not thumbnails) from a PEF-file
You basically answered your own question:

exiftool a.pef -previewimage -b | convert - -resize 500x out.jpg

- Phil
Direct Responses: Write a response