Returns image data associated with given image id from images table.
The function returns the following error codes:
E_DB_BIND if value binding failed.E_DB_DONE if statement finished.E_DB_PREPARE if statement preparation failed.E_DB_TYPE if returned columns are unexpected.E_INVALID if image id or type id is not passed or invalid.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_type), | intent(inout) | :: | db |
Database type. |
||
| type(image_type), | intent(out) | :: | image |
Returned image data. |
||
| character(len=*), | intent(in) | :: | image_id |
Image id. |