JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
TgaTool.h File Reference

TGAグラフィックデータ定義用ヘッダ
More...

#include "Gdata.h"
#include "xtools.h"
Include dependency graph for TgaTool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TGAImage
 

Namespaces

namespace  jbxl
 

Macros

#define TGA_HEADER_SIZE   18
 
#define TGA_FOOTER_SIZE   26
 
#define TGA_FOOTER_STR   "TRUEVISION-XFILE."
 

Functions

TGAImage readTGAFile (const char *fname)
 
TGAImage readTGAData (FILE *fp)
 
int writeTGAFile (const char *fname, TGAImage *tga)
 
int writeTGAData (FILE *fp, TGAImage *tga)
 
int setupTGAData (TGAImage *tga, bool rle)
 
template<typename T >
MSGraph< T > TGAImage2MSGraph (TGAImage tga)
 
template<typename T >
TGAImage MSGraph2TGAImage (MSGraph< T > vp, bool rle)
 

Detailed Description

Version
1.0β
Date
2024 2/15
Author
Fumi.Iseki (C)

Definition in file TgaTool.h.

Macro Definition Documentation

◆ TGA_FOOTER_SIZE

#define TGA_FOOTER_SIZE   26

Definition at line 17 of file TgaTool.h.

Referenced by TGAImage::init(), jbxl::readTGAData(), and jbxl::writeTGAData().

◆ TGA_FOOTER_STR

#define TGA_FOOTER_STR   "TRUEVISION-XFILE."

Definition at line 18 of file TgaTool.h.

Referenced by TGAImage::init().

◆ TGA_HEADER_SIZE

#define TGA_HEADER_SIZE   18