1
\$\begingroup\$

I have one bayer raw file which contains only pixel values in bayer pattern and no metadata.The bayer pattern is known.
Is it possible to the file using RawTherapee? The following link provides some information:
http://rawpedia.rawtherapee.com/Adding_Support_for_New_Raw_Formats
The information is not enough to solve my problem.

\$\endgroup\$
3
  • \$\begingroup\$ dcraw -I may do what you need. I haven't tested it. \$\endgroup\$
    – xiota
    May 17, 2022 at 15:10
  • \$\begingroup\$ You might also try to pack it in a TIFF container and rename to DNG - see photo.stackexchange.com/a/93668/59825 \$\endgroup\$
    – user24582
    May 20, 2022 at 9:24
  • \$\begingroup\$ Does TIFF container include the bayer pattern information? \$\endgroup\$ May 23, 2022 at 1:32

1 Answer 1

1
\$\begingroup\$

RawTherapee uses an embedded copy of the DCRAW utility to read and decode the RAW file (original source code). So, you need to add support for your file format here.

\$\endgroup\$
2
  • \$\begingroup\$ Is it possible to support the format without modifying source code? \$\endgroup\$ May 19, 2022 at 8:52
  • 1
    \$\begingroup\$ The source code of DCRAW is pretty straightforward. You might be able to rewrite some parts to use configuration files, but I doubt that you can support all idiosyncrasies of all RAW formats in configuration, without writing most code twice: as source code and as configuration file. It is much easier to keep it all in one place, i.e in source code. \$\endgroup\$
    – user24582
    May 19, 2022 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.