(→Opening in Photoshop) |
(→RAW12) |
||
Line 30: | Line 30: | ||
There is also the derived format that leaves out the 4 lsb zeros. | There is also the derived format that leaves out the 4 lsb zeros. | ||
+ | ==Conversion to RAW16== | ||
Convert RAW12 -> RAW16 with imagemagick: | Convert RAW12 -> RAW16 with imagemagick: | ||
convert -size 4096x3072 -depth 12 gray:input.raw12 -depth 16 gray:output.raw16 | convert -size 4096x3072 -depth 12 gray:input.raw12 -depth 16 gray:output.raw16 | ||
+ | ==Conversion to DNG== | ||
Convert RAW12 -> DNG with [http://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng raw2dng]: | Convert RAW12 -> DNG with [http://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng raw2dng]: | ||
raw2dng file.raw12 | raw2dng file.raw12 | ||
Line 38: | Line 40: | ||
Output will be file.DNG; width is assumed 4096, height is auto-detected from file size. For more options, run raw2dng without any arguments. | Output will be file.DNG; width is assumed 4096, height is auto-detected from file size. For more options, run raw2dng without any arguments. | ||
+ | ==Metadata== | ||
Show metadata from a raw12 file (without converting it): | Show metadata from a raw12 file (without converting it): | ||
raw2dng file.raw12 --dump-regs | raw2dng file.raw12 --dump-regs |
XZ compressed sample files (use 7Zip to uncompress under windows: http://www.7-zip.org/)
http://vserver.13thfloor.at/Stuff/AXIOM/ALPHA/RAW/
The DNG converter expects the register block to be present so if it has not been saved with the image in camera:
To append an empty metadata block (sensor registers):
(cat old.raw16; dd if=/dev/zero bs=256 count=1) > new.raw16
To append an existing register block dumped into a file:
cat old.raw16 some.reg > new.raw16
There is also the derived format that leaves out the 4 lsb zeros.
Convert RAW12 -> RAW16 with imagemagick:
convert -size 4096x3072 -depth 12 gray:input.raw12 -depth 16 gray:output.raw16
Convert RAW12 -> DNG with raw2dng:
raw2dng file.raw12
Output will be file.DNG; width is assumed 4096, height is auto-detected from file size. For more options, run raw2dng without any arguments.
Show metadata from a raw12 file (without converting it):
raw2dng file.raw12 --dump-regs