5 * This software is released under the GNU General Public License (GNU GPL).
6 * Please read the included file COPYING for more information.
7 * This software comes with no warranty of any kind, use at your own risk!
10 #ifndef __FORMAT_NIKON_H
11 #define __FORMAT_NIKON_H
16 gint format_nikon_raw(const void *data, const guint len,
17 guint *image_offset, guint *exif_offset);
19 #define FORMAT_RAW_NIKON { "II\x2a\x00", 4, "Nikon tiff raw", format_nikon_raw }, \
20 { "MM\x00\x2a", 4, "Nikon tiff raw", format_nikon_raw }
23 gint format_nikon_makernote(ExifData *exif, unsigned char *tiff, guint offset,
24 guint size, ExifByteOrder byte_order);
26 #define FORMAT_EXIF_NIKON { FORMAT_EXIF_MATCH_MAKERNOTE, "Nikon\x00", 6, "Nikon", format_nikon_makernote }, \
27 { FORMAT_EXIF_MATCH_MAKE, "NIKON", 5, "Nikon", format_nikon_makernote }