class xtprobeImageDiskXFile

This class is designed to load an image from the disk using the extension of filename to probe the format

Inheritance:


Public Methods

[more] constructor and destructor
[more] read/write image header and image pixmap


Inherited from ImageDiskXFile:

Public Fields

data field

image size fields

other fields

Public Methods

constructors and destructor


Documentation

This class is designed to load an image from the disk using the extension of filename to probe the format

o constructor and destructor

o xtprobeImageDiskXFile(const char* file_name, const char* open_flags)
Makes a ImageDiskXFile from an filename.

Parameters:
file_name - is the filename of the image
- open_flags is the opening mode of the file

ovirtual ~xtprobeImageDiskXFile()
Destructor

o read/write image header and image pixmap

ovirtual bool readHeader(int* width_, int* height_)
read the header from the file.

Parameters:
width_ - is the width of the image read in the header
height_ - is the height of the image read in the header

ovirtual int readPixmap()
read the pixmap from the file

ovirtual bool writeHeader(int width_, int height_)
write the header from the file.

Parameters:
width_ - is the width of the image written in the header
height_ - is the height of the image written in the header

ovirtual int writePixmap(unsigned char* pixmap_)
write the pixmap_ into the file


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Fri 15 Jul 2005 11:35:18 AM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.