24#include "exiv2lib_export.h"
71 void readMetadata()
override;
72 void writeMetadata()
override;
99 void doWriteMetadata(
BasicIo& outIo);
101 static byte readPgfMagicNumber(
BasicIo& iIo);
103 uint32_t readPgfHeaderSize(
BasicIo& iIo)
const;
105 DataBuf readPgfHeaderStructure(
BasicIo& iIo,
int& width,
int& height)
const;
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 PGF images. Exif and IPTC metadata are supported directly.
Definition: pgfimage.hpp:47
std::string mimeType() const override
Return the MIME type of the image.
Definition: pgfimage.hpp:77
PgfImage(const PgfImage &rhs)=delete
Copy constructor.
PgfImage & operator=(const PgfImage &rhs)=delete
Assignment operator.
const int pgf
PGF image type (see class PgfImage)
Definition: pgfimage.hpp:40
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: basicio.hpp:43
EXIV2API bool isPgfType(BasicIo &iIo, bool advance)
Check if the file iIo is a PGF image.
Definition: pgfimage.cpp:327
EXIV2API Image::UniquePtr newPgfInstance(BasicIo::UniquePtr io, bool create)
Create a new PgfImage instance and return an auto-pointer to it. Caller owns the returned object and ...
Definition: pgfimage.cpp:317
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:162