Exiv2
Loading...
Searching...
No Matches
Exiv2::PreviewManager Class Reference

Class for extracting preview images from image metadata. More...

#include <preview.hpp>

Public Member Functions

Constructors
 PreviewManager (const Image &image)
 Constructor.

Accessors

PreviewPropertiesList getPreviewProperties () const
 Return the properties of all preview images in a list sorted by preview width * height, starting with the smallest preview image.
PreviewImage getPreviewImage (const PreviewProperties &properties) const
 Return the preview image for the given preview properties.

Detailed Description

Class for extracting preview images from image metadata.

Member Function Documentation

◆ getPreviewImage()

PreviewImage Exiv2::PreviewManager::getPreviewImage ( const PreviewProperties & properties) const
nodiscard

Return the preview image for the given preview properties.

References Exiv2::PreviewProperties::id_.

Referenced by Exiv2::Rw2Image::readMetadata().

◆ getPreviewProperties()

PreviewPropertiesList Exiv2::PreviewManager::getPreviewProperties ( ) const
nodiscard

Return the properties of all preview images in a list sorted by preview width * height, starting with the smallest preview image.

References Exiv2::PreviewProperties::size_.

Referenced by Exiv2::Rw2Image::readMetadata().


The documentation for this class was generated from the following files: