Module: Gegl::Metadata
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_resolution(unit, x, y) ⇒ Boolean
Retrieve resolution from the application image metadata.
-
#iter_get_value(iter, value) ⇒ Boolean
Retrieve image file metadata from the application.
-
#iter_init(iter) ⇒ nil
Initialise an iterator to find all supported metadata keys.
-
#iter_lookup(iter, key) ⇒ Boolean
Look up the specified key and initialise an iterator to reference the associated metadata.
-
#iter_next(iter) ⇒ String
Move the iterator to the next metadata item.
-
#iter_set_value(iter, value) ⇒ Boolean
Set application data retrieved from image file's metadata.
-
#register_map(file_module, flags, map, n_map) ⇒ nil
Set the name of the file module and pass an array of mappings from file-format specific metadata names to those used by Gegl.
-
#set_resolution(unit, x, y) ⇒ Boolean
Set resolution retrieved from image file's metadata.
-
#unregister_map ⇒ nil
Unregister the file module mappings and any further mappings added or modified by the application.
Instance Method Details
#get_resolution(unit, x, y) ⇒ Boolean
Retrieve resolution from the application image metadata. Intended for use by the image file writer. If resolution is not supported by the application or if the operation fails false is returned and the resolution values are not updated.
#iter_get_value(iter, value) ⇒ Boolean
Retrieve image file metadata from the application. Intended for use by the image file writer. If the operation fails it returns false and value is not updated.
#iter_init(iter) ⇒ nil
Initialise an iterator to find all supported metadata keys.
#iter_lookup(iter, key) ⇒ Boolean
Look up the specified key and initialise an iterator to reference the associated metadata. The iterator is used in conjunction with gegl_metadata_set_value() and gegl_metadata_get_value(). Note that this iterator is not valid for gegl_metadata_iter_next().
#iter_next(iter) ⇒ String
Move the iterator to the next metadata item
#iter_set_value(iter, value) ⇒ Boolean
Set application data retrieved from image file's metadata. Intended for use by the image file reader. If the operation fails it returns false and value is ignored.
#register_map(file_module, flags, map, n_map) ⇒ nil
Set the name of the file module and pass an array of mappings from file-format specific metadata names to those used by Gegl. A GValue transformation function may be supplied, e.g. to parse or format timestamps.
#set_resolution(unit, x, y) ⇒ Boolean
Set resolution retrieved from image file's metadata. Intended for use by the image file reader. If resolution is not supported by the application or if the operation fails false is returned and the values are ignored.
#unregister_map ⇒ nil
Unregister the file module mappings and any further mappings added or modified by the application. This should be called after the file module completes operations.