24#include "exiv2lib_export.h"
77 std::string
mimeType()
const {
return "image/pgf"; }
95 void doWriteMetadata(
BasicIo& oIo);
97 byte readPgfMagicNumber(
BasicIo& iIo);
99 uint32_t readPgfHeaderSize(
BasicIo& iIo);
101 DataBuf readPgfHeaderStructure(
BasicIo& iIo,
int& width,
int & height);
119 EXIV2API
bool isPgfType(BasicIo& iIo,
bool advance);
An interface for simple binary IO.
Definition: basicio.hpp:55
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition: basicio.hpp:58
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:78
std::auto_ptr< Image > AutoPtr
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
Return the MIME type of the image.
Definition: pgfimage.hpp:77
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: asfvideo.hpp:36
EXIV2API bool isPgfType(BasicIo &iIo, bool advance)
Check if the file iIo is a PGF image.
Definition: pgfimage.cpp:327
EXIV2API Image::AutoPtr newPgfInstance(BasicIo::AutoPtr 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