get_image_metadata
Retrieve dimensions, color mode, layer and channel counts, file details, and layer structure from the active GIMP image without exporting bitmap data, enabling informed editing decisions.
Instructions
Get metadata about the current open image in GIMP without the bitmap data.
Returns detailed information about the currently active image including:
Image dimensions (width, height)
Color mode and base type
Number of layers and channels
File information if available
Layer structure and properties
This is much faster than get_image_bitmap() since it doesn't export the actual image data. Perfect for when you only need to know image properties for decision making.
Returns:
Dictionary containing comprehensive image metadata
Raises exception if no images are open
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||