?? rsimagetiff.h
字號:
// RSImageTIFF.h: interface for the CRSImageTIFF class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RSIMAGETIFF_H__EC5610FF_6246_4FD6_8F5E_5AB6FD3E832A__INCLUDED_)
#define AFX_RSIMAGETIFF_H__EC5610FF_6246_4FD6_8F5E_5AB6FD3E832A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define BYTE_TYPE 1
#define ASCII_TYPE 2
#define SHORT_TYPE 3
#define LONG_TYPE 4
#define RATIONAL_TYPE 5
#define BitsPerSample 258
#define ColorMap 320
#define Compression 259
#define ImageLength 257
#define ImageWidth 256
#define PhotometricInterpretation 262
#define PlanarConfiguration 284
#define RowsPerStrip 278
#define SamplesPerPixel 277
#define StripByteCounts 279
#define StripOffsets 273
#include "RSImage.h"
class CRSImageTIFF : public CRSImage
{
public:
CRSImageTIFF();
virtual ~CRSImageTIFF();
public:
virtual int Read(const char * filename);
virtual int Write(const char * filename);
// virtual CRSImage& operator = (CRSImage& source);
char strTempFile[80];
public:
unsigned short get_short(unsigned short value);
unsigned long get_long(unsigned long value);
unsigned short read_row(CFile &);
void Decode(CFile &,unsigned char *);
public:
char byteorder[2];
short version;
unsigned long ifd;
unsigned short tag;
unsigned short type;
unsigned long length;
unsigned long offset;
RGBTRIPLE *ctbl;
unsigned short image_width;
unsigned short image_height;
unsigned short rows_per_strip;
unsigned long byte_count;
unsigned long strip_offset;
unsigned short numstrips;
unsigned short samples_per_pixel;
unsigned short bits_per_sample;
unsigned short planar_config;
unsigned short compression;
unsigned short palettesize;
unsigned short bits_per_pixel;
unsigned long pos;
unsigned short bytes_per_line;
unsigned short bytes_per_strip_row;
unsigned short photometric;
unsigned char *TIF_image;
};
#endif // !defined(AFX_RSIMAGETIFF_H__EC5610FF_6246_4FD6_8F5E_5AB6FD3E832A__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -