Author Topic: DCRAW and Panasonic RAW files  (Read 3911 times)

Offline Billhinge

  • Newcomer
  • Posts: 9
DCRAW and Panasonic RAW files
« on: 2012 March 25 13:39:05 »
Hi

I believe Pixinsight uses DCRAW to do its RAW conversion. How does one go about getting a RAW format supported?
I use a Panasonic GH2 m43 which uses Panasonic RAW files. These have been supported in DRAW for over a year now but they are still not readable in Pixinsight.
I have to resort to exporting as DNG and the FITS conversion scripts.

Does the conversion rely on some additional Pixinsight code logic or is merely a user configuration process or quick edit an recompile?

Also out of curiosity, when I import a terrestrial RAW it will have a green tinge, I found the DCRAW preferences but is it possible to configure this easily to eliminate the green tinge or is it just trial and error?

Steve

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: DCRAW and Panasonic RAW files
« Reply #1 on: 2012 March 29 03:57:23 »
Hi Steve,

PixInsight's DSLR_RAW module relies exclusively on dcraw.c to support raw images from most digital cameras. "Panasonic DMC-GH2" is in the list of dcraw's supported cameras, and the current DSLR_RAW module uses dcraw version 9.12, which as far as I know is the latest version available.

So I don't know why your camera isn't supported. It should. Could you upload one of these raw files somewhere, so I can take a look at it?

Quote
Also out of curiosity, when I import a terrestrial RAW it will have a green tinge, I found the DCRAW preferences but is it possible to configure this easily to eliminate the green tinge or is it just trial and error?

Quoted from dcraw's home page:

Why does dcraw output have a green tint and weak color?
    Because dcraw doesn't have a color matrix for your camera model, it outputs raw color instead of sRGB. To fix this, I need a photo of a Wolf Faust, Calibr8, CMP, GretagMacbeth, or other calibrated color chart.


So perhaps if you write to Dave Coffin following his instructions, he may be able to improve dcraw's support for your camera model.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Billhinge

  • Newcomer
  • Posts: 9
Re: DCRAW and Panasonic RAW files
« Reply #2 on: 2012 March 29 12:43:35 »
Hi Juan

Thank you for your quick reply - I have sent you a file via PM

Also thanks for your advice on draw, I'll follow this up as well

best regards
Steve

Offline Billhinge

  • Newcomer
  • Posts: 9
Re: DCRAW and Panasonic RAW files
« Reply #3 on: 2012 March 30 13:39:23 »
Juan

Thanks for the bug fix, works for me  :D

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: DCRAW and Panasonic RAW files
« Reply #4 on: 2012 March 30 23:59:28 »
Hi Steve,

Glad to know it's working. It was simply that the .rw2 file extension was not included in the list of supported extensions in the DSLR_RAW module. Once I've added it (along with a few more) Panasonic raw images are decoded correctly, since they are fully supported.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/