24#include "exiv2lib_export.h"
103 void doWriteMetadata(
BasicIo& outIo);
106 std::string profileName_;
An interface for simple binary IO.
Definition: basicio.hpp:55
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition: basicio.hpp:58
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:78
std::unique_ptr< Image > UniquePtr
Image auto_ptr type.
Definition: image.hpp:81
Class to access PNG images. Exif and IPTC metadata are supported directly.
Definition: pngimage.hpp:47
PngImage(BasicIo::UniquePtr io, bool create)
Constructor that can either open an existing PNG image or create a new image from scratch....
void printStructure(std::ostream &out, PrintStructureOption option, int depth) override
Print out the structure of image file.
PngImage & operator=(const PngImage &rhs)=delete
Assignment operator.
std::string mimeType() const override
Return the MIME type of the image.
PngImage(const PngImage &rhs)=delete
Copy constructor.
void writeMetadata() override
Write metadata back to the image.
void readMetadata() override
Read all metadata supported by a specific image format from the image. Before this method is called,...
const int png
PNG image type (see class PngImage)
Definition: pngimage.hpp:40
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: basicio.hpp:43
PrintStructureOption
Options for printStructure.
Definition: image.hpp:64
EXIV2API Image::UniquePtr newPngInstance(BasicIo::UniquePtr io, bool create)
Create a new PngImage instance and return an auto-pointer to it. Caller owns the returned object and ...
EXIV2API bool isPngType(BasicIo &iIo, bool advance)
Check if the file iIo is a PNG image.