WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
TiffFile.h
1#ifndef _WINC_TIFFFILE
2#define _WINC_TIFFFILE
3
4#include <WXP/File.h>
5#include <WXP/Image.h>
6#include <WXP/Swap.h>
7
8namespace WXP {
9 class TiffFile {
10 File file; /* The file */
11 int access;
12 bool opened;
13 int width; /* Width of image */
14 int height; /* Height of image */
15 int depth; /* Depth of image */
16 Swap swap;
17
18 public:
19 TiffFile();
20 ~TiffFile();
21 int init();
22
23 TiffFile( const char *filename, int access );
24 int open( const char *filename, int access );
25 bool isOpen();
26 int close();
27 int read( Image &image );
28 int write( Image &image );
29 };
30}
31#endif
This class accesses files.
Definition File.h:15
This class defines an image.
Definition Image.h:19
This class performs byte swapping.
Definition Swap.h:7
This class reads and writes GIF files.
Definition TiffFile.h:9
int init()
Definition TiffFile.cc:51
int read(Image &image)
Definition TiffFile.cc:92
TiffFile()
Definition TiffFile.cc:27
~TiffFile()
Definition TiffFile.cc:44
int close()
Definition TiffFile.cc:83
int open(const char *filename, int access)
Definition TiffFile.cc:60
bool isOpen()
Definition TiffFile.cc:76
int write(Image &image)
Definition TiffFile.cc:448
All WXP classes fall under the WXP namespace.
Definition Angle.h:4