Metadata-Version: 2.1
Name: drb-impl-image
Version: 1.0.0
Summary: DRB Image implementation
Home-page: https://gitlab.com/drb-python/impl/image
Author: GAEL Systems
Author-email: drb-python@gael.fr
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# ImageNode Implementation
This drb-impl-image module implements images data formats to be accessed with DRB data model. It is able to navigates among the images contents and accessing the image data.
### Supported images formats
The current implementation is based on RasterIO module. It has been tested with Tiff/GeoTIFF, Jp2k and png formats.

There are no limitations to use other formats supported by rasterio, see
https://gdal.org/drivers/raster/index.html for details.

## Image Factory and Image Node
The module implements the basic factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is `drb.impl`.<br/>
The implementation name is `image`.<br/>
The factory class is encoded into `drb_impl_image.image_node_factory`.<br/>

The image factory creates an ImageNode from an existing image data. It uses a base node to access the content data with the streamed base node implementation.

The base node can be a FileNode (See drb-impl-file), HttpNode, ZipNode or any other node able to provide streamed (`BufferedIOBase`, `RawIOBase`, `IO`) xml content.
## limitations
The current version does not manage child modification and insertion. ImageNode is currently read only.
## Using this module
To include this module into your project, the `drb-impl-image` module shall be referenced into `requirement.txt` file, or the following pip line can be run:
```commandline
pip install drb-impl-image
```


