Base class for reading metadata from image files (JPEG, PNG, GIF).
More...
#include <gin_imagemetadata.h>
Base class for reading metadata from image files (JPEG, PNG, GIF).
ImageMetadata provides a polymorphic interface for accessing various types of image metadata (EXIF, XMP, IPTC, comments). Different metadata formats are handled by derived classes that parse format-specific data.
The getFromImage() factory method automatically detects and extracts all available metadata types from an image file, returning them as an array of ImageMetadata objects.
Supported metadata formats:
- EXIF: Camera settings, GPS, timestamps
- XMP: Adobe extensible metadata
- IPTC: Press/journalism metadata
- Comment: Simple text comments
Usage:
{
{
DBG(
"Metadata type: " +
meta->getType());
DBG(key +
": " + data[key]);
}
}
A lightweight 2D point class for projects that don't use juce_graphics.
Definition gin_point.h:25
- See also
- ExifMetadata, XmpMetadata, IptcMetadata, CommentMetadata
◆ ImageMetadata()
| ImageMetadata::ImageMetadata |
( |
const juce::String & |
type | ) |
|
◆ ~ImageMetadata()
| virtual ImageMetadata::~ImageMetadata |
( |
| ) |
|
|
virtual |
◆ getType()
| juce::String ImageMetadata::getType |
( |
| ) |
const |
◆ getAllMetadata()
| virtual juce::StringPairArray ImageMetadata::getAllMetadata |
( |
| ) |
const |
|
pure virtual |
◆ getFromImage()
◆ type
| juce::String ImageMetadata::type |
|
protected |
The documentation for this class was generated from the following file: