@ -21,37 +21,40 @@
#ifndef IMAGE_TYPES_H
#define IMAGE_TYPES_H
namespace Exiv2 {
namespace Exiv2
{
/// Supported Image Formats
enum class ImageType{
none, ///<
jpeg, ///<
exv, ///<
crw, ///<
tiff, ///<
enum class ImageType
none,
arw,
bigtiff,
bmff,
bmp, ///< Windows bitmap
cr2,
crw,
dng,
eps,
exv,
gif, ///< GIF
jp2, ///< JPEG-2000
jpeg,
mrw,
nef,
orf,
pef,
png,
pgf,
psd, ///< Photoshop (PSD)
raf,
rw2,
sr2,
srw,
mrw, ///<
png, ///<
cr2, ///<
raf, ///<
orf, ///<
tga,
tiff,
webp,
xmp, ///< XMP sidecar files
tga, ///<
rw2, ///<
pgf, ///<
webp, ///<
};
}
} // namespace Exiv2
#endif // IMAGE_TYPES_H
@ -97,6 +97,7 @@ namespace {
AccessMode commentSupport_;
/// \todo Use std::unordered_map for implementing the registry. Avoid to use ImageType::none
const Registry registry[] = {
//image type creation fct type check Exif mode IPTC mode XMP mode Comment mode
//--------------- --------------- ---------- ----------- ----------- ----------- ------------