48#ifndef VIGRA_IMAGEINFO_HXX
49#define VIGRA_IMAGEINFO_HXX
57#include "array_vector.hxx"
58#include "multi_iterator.hxx"
365 std::string m_filename, m_filetype, m_pixeltype, m_comp, m_mode;
366 float m_x_res, m_y_res;
370 double fromMin_, fromMax_, toMin_, toMax_;
393 enum PixelType { UINT8, INT16, UINT16, INT32, UINT32, FLOAT, DOUBLE };
552 std::string m_filename, m_filetype, m_pixeltype;
553 int m_width, m_height, m_num_bands, m_num_extra_bands, m_num_images, m_image_index;
554 float m_x_res, m_y_res;
Two dimensional difference vector.
Definition diff2d.hxx:186
Argument object for the function exportImage().
Definition imageinfo.hxx:134
const char * getMode() const
ImageExportInfo & setCanvasSize(const Size2D &size)
ArrayVector< unsigned char > ICCProfile
Definition imageinfo.hxx:352
ImageExportInfo & setPixelType(const char *)
ImageExportInfo & setFileType(const char *)
ImageExportInfo & setPosition(const Diff2D &pos)
const char * getPixelType() const
ImageExportInfo & setYResolution(float)
Diff2D getPosition() const
const ICCProfile & getICCProfile() const
Size2D getCanvasSize() const
ImageExportInfo & setXResolution(float)
ImageExportInfo & setFileName(const char *filename)
ImageExportInfo & setICCProfile(const ICCProfile &profile)
ImageExportInfo(const char *filename, const char *mode="w")
ImageExportInfo & setCompression(const char *type)
Argument object for the function importImage().
Definition imageinfo.hxx:391
ImageImportInfo(const char *filename, unsigned int page=0)
ArrayVector< unsigned char > ICCProfile
Definition imageinfo.hxx:542
const char * getPixelType() const
Diff2D getPosition() const
const ICCProfile & getICCProfile() const
MultiArrayShape< 2 >::type shape() const
Size2D getCanvasSize() const
PixelType pixelType() const
int numExtraBands() const
float getYResolution() const
void setImageIndex(const int)
const char * getFileType() const
float getXResolution() const
int getImageIndex() const
Class for a single RGB value.
Definition rgbvalue.hxx:128
Two dimensional size object.
Definition diff2d.hxx:483
Class for fixed size vectors.
Definition tinyvector.hxx:1008
std::string impexListExtensions()
List the file extension VIGRA understands.
bool isImage(char const *filename)
Test whether a file is an image format known to VIGRA.
std::string impexListFormats()
List the image formats VIGRA can read and write.