diff options
Diffstat (limited to 'source/blender/imbuf/intern/IMB_imginfo.h')
-rw-r--r-- | source/blender/imbuf/intern/IMB_imginfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/IMB_imginfo.h b/source/blender/imbuf/intern/IMB_imginfo.h index c8e9005619c..e82cc5f32af 100644 --- a/source/blender/imbuf/intern/IMB_imginfo.h +++ b/source/blender/imbuf/intern/IMB_imginfo.h @@ -74,6 +74,12 @@ int IMB_imginfo_get_field(struct ImBuf* img, const char* key, char* value, int l */ int IMB_imginfo_add_field(struct ImBuf* img, const char* key, const char* field); +/** delete the key/field par in the ImgInfo struct. + * @param img - the ImBuf that contains the image data + * @param key - the key of the field + * @return - 1 (true) if delete the key/field, 0 (false) otherwise + */ +int IMB_imginfo_del_field(struct ImBuf *img, const char *key); #endif /* _IMB_IMGINFO_H */ |