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 * Code to add support for Canon CR2 and CRW files, version 0.2
12 * Developed by Daniel M. German, dmgerman at uvic.ca
14 * you can find the sources for this patch at http://turingmachine.org/~dmg/libdcraw/gqview/
18 #ifndef __FORMAT_CANON_H
19 #define __FORMAT_CANON_H
25 gint format_canon_raw(const void *data, const guint len,
26 guint *image_offset, guint *exif_offset);
29 #define FORMAT_RAW_CANON { "II", 2, "Canon crw format", format_canon_raw }, \
30 { "\x49\x49\x2a\00", 4, "Canon cr2 format", format_canon_raw }
33 gint format_canon_makernote(ExifData *exif, unsigned char *tiff, guint offset,
34 guint size, ExifByteOrder byte_order);
36 #define FORMAT_EXIF_CANON { FORMAT_EXIF_MATCH_MAKE, "Canon", 5, "Canon", format_canon_makernote }