LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-06-2007, 12:18 AM   #1
Tom Brown
LQ Newbie
 
Registered: Jan 2007
Posts: 12

Rep: Reputation: 0
Pentax .PEF RAW to JPEG batch conversion utility needed


I wish I could browse thumbnails of .PEF files in Linux but short of being able to do that, it would be almost as good to have a batch conversion process to convert the RAW files to something that I *can* browse as thumbnails. I'm a bit of a shutterbug and it takes a long time to use GIMP to convert hundreds of files to JPEG, just so I can see thumbnails in the file browser.

Any tips or perhaps a script of some kind?

I'm on AMD64 Debian Etch with KDE 3.5 but I'd gladly compile from source, install from RPM, or do whatever is required if a utility exists to do the conversion.


Oh yeah.... Hugin rocks! It's one of my favorite applications EVER.
 
Old 03-06-2007, 06:25 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
The 'convert' utility from imagemagick can convert formats for you, provided it can handle the input. And it would surprise me very much if it couldn't, if the GIMP can. It should be trivial to set up a simple script with it.
 
Old 01-16-2008, 10:38 PM   #3
rastiazul
Member
 
Registered: Feb 2006
Location: Costa Rica
Distribution: PCLinuxOS, Mint, Eeebuntu
Posts: 67

Rep: Reputation: 15
I dont see .pef in the imagemagick supported formats list.
 
Old 12-14-2009, 10:08 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I found this thread using google while I was trying to achieve this as well. I'm fully aware that it is very old and I'm usually the one who states not to kick old threads but I like to post a solution that I found on the net.

Code:
ufraw-batch --wb=camera --exposure=0 --out-type=jpeg --compression=96 *.PEF
which will convert all pefs in a directory to jpegs with the same base filename; you can specify a different output directory using the --out-path option (useful when you shoot raw+jpeg).

The command above is slightly modified from http://jcornuz.wordpress.com/2007/10...verting-batch/ I have changed the --exposure option from auto to 0 as this will result in a jpeg that looks very similar to the original pef (it's slightly lighter, a tenth of a stop or so).

If Tom Brown is still around, he might want to mark this thread as solved.

A note: this worked for images from a K10D. It can theoretically work for newer cameras as well but might require a newer version of ufraw. It should also work for raw files from other brands like Canon and Nikon.
 
Old 12-27-2010, 07:36 PM   #5
nobrowser
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
The modern geeqie image viewer supports .PEF (and probably all other formats that dcraw and ufraw do).
 
  


Reply

Tags
camera, jpeg, jpg, raw


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dvd batch conversion layer1man Linux - Software 1 10-25-2005 08:06 AM
audacity, batch conversion mifan Linux - Software 1 08-19-2005 02:51 AM
Batch LAME MP3 conversion ??? khermans Linux - General 10 03-27-2005 06:10 PM
Batch image conversion mrsolo Linux - Software 1 09-06-2004 04:47 PM
Algorithm for bmp to jpeg conversion giriprasad1979 Programming 4 03-01-2004 03:33 AM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration