File indexing completed on 2024-04-28 15:50:41

0001 /*
0002     SPDX-FileCopyrightText: 2005-2015 Gilles Caulier <caulier dot gilles at gmail dot com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef RAW_FILES_H
0008 #define RAW_FILES_H
0009 
0010 /**
0011  * @file
0012  * @brief  list of RAW file extensions supported by libraw
0013  */
0014 
0015 // NOTE: extension list Version 1 and 2 are taken from http://www.cybercom.net/~dcoffin/dcraw/rawphoto.c
0016 // NOTE: extension list Version 5 is taken from https://github.com/MrKepzie/Natron/issues/408#issuecomment-84959815
0017 
0018 //                                           Ext    Descriptions From
0019 //                                                  www.file-extensions.org
0020 //                                                  en.wikipedia.org/wiki/RAW_file_format
0021 //                                                  filext.com
0022 
0023 static const char raw_file_extentions[] =
0024 
0025 // NOTE: VERSION 1
0026                                           "*.bay "  // Casio Digital Camera Raw File Format.
0027                                           "*.bmq "  // NuCore Raw Image File.
0028                                           "*.cr2 "  // Canon Digital Camera RAW Image Format version 2.0. These images are based on the TIFF image standard.
0029                                           "*.crw "  // Canon Digital Camera RAW Image Format version 1.0.
0030                                           "*.cs1 "  // Capture Shop Raw Image File.
0031                                           "*.dc2 "  // Kodak DC25 Digital Camera File.
0032                                           "*.dcr "  // Kodak Digital Camera Raw Image Format for these models: Kodak DSC Pro SLR/c, Kodak DSC Pro SLR/n, Kodak DSC Pro 14N, Kodak DSC PRO 14nx.
0033                                           "*.dng "  // Adobe Digital Negative: DNG is publicly available archival format for the raw files generated by digital cameras. By addressing the lack of an open standard for the raw files created by individual camera models, DNG helps ensure that photographers will be able to access their files in the future.
0034                                           "*.erf "  // Epson Digital Camera Raw Image Format.
0035                                           "*.fff "  // Imacon Digital Camera Raw Image Format.
0036                                           "*.hdr "  // Leaf Raw Image File.
0037                                           "*.k25 "  // Kodak DC25 Digital Camera Raw Image Format.
0038                                           "*.kdc "  // Kodak Digital Camera Raw Image Format.
0039                                           "*.mdc "  // Minolta RD175 Digital Camera Raw Image Format.
0040                                           "*.mos "  // Mamiya Digital Camera Raw Image Format.
0041                                           "*.mrw "  // Minolta Dimage Digital Camera Raw Image Format.
0042                                           "*.nef "  // Nikon Digital Camera Raw Image Format.
0043                                           "*.orf "  // Olympus Digital Camera Raw Image Format.
0044                                           "*.pef "  // Pentax Digital Camera Raw Image Format.
0045                                           "*.pxn "  // Logitech Digital Camera Raw Image Format.
0046                                           "*.raf "  // Fuji Digital Camera Raw Image Format.
0047                                           "*.raw "  // Panasonic Digital Camera Image Format.
0048                                           "*.rdc "  // Digital Foto Maker Raw Image File.
0049                                           "*.sr2 "  // Sony Digital Camera Raw Image Format.
0050                                           "*.srf "  // Sony Digital Camera Raw Image Format for DSC-F828 8 megapixel digital camera or Sony DSC-R1
0051                                           "*.x3f "  // Sigma Digital Camera Raw Image Format for devices based on Foveon X3 direct image sensor.
0052                                           "*.arw "  // Sony Digital Camera Raw Image Format for Alpha devices.
0053 
0054 // NOTE: VERSION 2
0055 
0056                                           "*.3fr "  // Hasselblad Digital Camera Raw Image Format.
0057                                           "*.cine " // Phantom Software Raw Image File.
0058                                           "*.ia "   // Sinar Raw Image File.
0059                                           "*.kc2 "  // Kodak DCS200 Digital Camera Raw Image Format.
0060                                           "*.mef "  // Mamiya Digital Camera Raw Image Format.
0061                                           "*.nrw "  // Nikon Digital Camera Raw Image Format.
0062                                           "*.qtk "  // Apple Quicktake 100/150 Digital Camera Raw Image Format.
0063                                           "*.rw2 "  // Panasonic LX3 Digital Camera Raw Image Format.
0064                                           "*.sti "  // Sinar Capture Shop Raw Image File.
0065 
0066 // NOTE: VERSION 3
0067 
0068                                           "*.rwl " // Leica Digital Camera Raw Image Format.
0069 
0070 // NOTE: VERSION 4
0071 
0072                                           "*.srw " // Samsung Raw Image Format.
0073 
0074 // NOTE: VERSION 5
0075                                           "*.drf "  // Kodak Digital Camera Raw Image Format.
0076                                           "*.dsc "  // Kodak Digital Camera Raw Image Format.
0077                                           "*.ptx "  // Pentax Digital Camera Raw Image Format.
0078                                           "*.cap "  // Phase One Digital Camera Raw Image Format.
0079                                           "*.iiq "  // Phase One Digital Camera Raw Image Format.
0080                                           "*.rwz "; // Rawzor Digital Camera Raw Image Format.
0081 
0082 // increment this number whenever you change the above string
0083 static const int raw_file_extensions_version = 5;
0084 
0085 #endif // RAW_FILES_H