## eom-metadata-reader

eom-metadata-reader

## Functions

#define | EOM_METADATA_READER_GET_INTERFACE()
EomMetadataReader * | eom_metadata_reader_new ()
void | eom_metadata_reader_consume ()
gboolean | eom_metadata_reader_finished ()
void | eom_metadata_reader_get_exif_chunk ()
ExifData * | eom_metadata_reader_get_exif_data ()
XmpPtr | eom_metadata_reader_get_xmp_data ()
gpointer | eom_metadata_reader_get_iptc_chunk ()
IptcData * | eom_metadata_reader_get_iptc_data ()
cmsHPROFILE | eom_metadata_reader_get_icc_profile ()

## Types and Values

| EomMetadataReader
struct | EomMetadataReaderInterface
enum | EomMetadataFileType

## Object Hierarchy

        GInterface
        ╰── EomMetadataReader

## Known Implementations

EomMetadataReader is implemented by EomMetadataReaderJpg and EomMetadataReaderPng.

## Description

## Functions

### EOM_METADATA_READER_GET_INTERFACE()

    #define EOM_METADATA_READER_GET_INTERFACE(o)  (G_TYPE_INSTANCE_GET_INTERFACE ((o), EOM_TYPE_METADATA_READER, EomMetadataReaderInterface))

### eom_metadata_reader_new ()

    EomMetadataReader *
    eom_metadata_reader_new (EomMetadataFileType type);

### eom_metadata_reader_consume ()

    void
    eom_metadata_reader_consume (EomMetadataReader *emr,
                                 const guchar *buf,
                                 guint len);

### eom_metadata_reader_finished ()

    gboolean
    eom_metadata_reader_finished (EomMetadataReader *emr);

### eom_metadata_reader_get_exif_chunk ()

    void
    eom_metadata_reader_get_exif_chunk (EomMetadataReader *emr,
                                        guchar **data,
                                        guint *len);

### eom_metadata_reader_get_exif_data ()

    ExifData *
    eom_metadata_reader_get_exif_data (EomMetadataReader *emr);

### eom_metadata_reader_get_xmp_data ()

    XmpPtr
    eom_metadata_reader_get_xmp_data (EomMetadataReader *emr);

### eom_metadata_reader_get_iptc_chunk ()

    gpointer
    eom_metadata_reader_get_iptc_chunk (EomMetadataReader *emr);

### eom_metadata_reader_get_iptc_data ()

    IptcData *
    eom_metadata_reader_get_iptc_data (EomMetadataReader *emr);

### eom_metadata_reader_get_icc_profile ()

    cmsHPROFILE
    eom_metadata_reader_get_icc_profile (EomMetadataReader *emr);

## Types and Values

### EomMetadataReader

    typedef struct _EomMetadataReader EomMetadataReader;

### struct EomMetadataReaderInterface

    struct EomMetadataReaderInterface {
    	GTypeInterface parent;

    	void		(*consume)		(EomMetadataReader *self,
    						 const guchar *buf,
    						 guint len);

    	gboolean (*finished)		(EomMetadataReader *self);

    	void		(*get_raw_exif)		(EomMetadataReader *self,
    						 guchar **data,
    						 guint *len);

    	gpointer (*get_exif_data) (EomMetadataReader *self);

    	gpointer (*get_icc_profile) (EomMetadataReader *self);

    	gpointer (*get_xmp_ptr)		(EomMetadataReader *self);
    };

### enum EomMetadataFileType

#### Members

EOM_METADATA_JPEG |  |
EOM_METADATA_PNG |  |