The raws created by the new DC GH6 camera by Panasonic use a new raw rw2 format
it seems using
pana_encoding=8
and
pana_bpp=16
I created an issue on rawtherapee bug tracker, but if some people have here knowledge in this field, I am also putting the information. I assume the code can be ported from and between if found.
(The raw files were created by me, feel free to use these in any way, if you need a licence WTFPL)
One file created by a GH6 is here
https://filebin.net/1bh53vgllqhi2oy1/P1000265.RW2
sets of white frame according to rawtherapee nomenclature.
https://filebin.net/w4w7wo1juux5n1sg
Yes, this is completely new
Yes, this is completely new encoding format, nothing common with previous panasonic formats.
-- Alex Tutubalin @LibRaw LLC
Will GH6 raw format supported
Will GH6 raw format supported in the next release/snapshot?
Regards
Ugo
Most likely not
Most likely not
-- Alex Tutubalin @LibRaw LLC
I tried to inspect a bit more
I tried to inspect a bit more the situation:
rawtherapee which uses some custom dcraw success in extracting the compressed raw data,
but it fails in decoding the decompressed structure.
I modified it to dump the uncompressed raw (which display as garbage currently).
For a 25 mb pixels image, there is exactly 50 mbytes of decoded data being decoded.
which correspond to 2 bytes per pixel, which seems to be confirming the 16 bits per pixel.
I tried making a black frame and a white frame,
just to see if I could understand something, but the result are not that great:
The first bytes of the frames are looking like that:
white frame:
black frame:
So...
either they are crypted or salted,
either the colorspace is uncommon,
either I am missing something, which can be possible as I am far from an expert in this domain.
The data are there : (including the two RW2 files)
http://esby.free.fr/perso/GH6-RW2/
See
http://esby.free.fr/perso/GH6-RW2/P1000404-black.info
and
http://esby.free.fr/perso/GH6-RW2/P1000407-white.info
for the filesizes and basic descriptions
(the dng were producted by Adobe Dngconverter 14_3 under wine staging 7.2 )
http://esby.free.fr/
Adobe DNG Converter does the job.
In the meantime conversion with the most recent Adobe DNG Converter works.