Tachyon (current)  Current Main Branch
tgafile.h
Go to the documentation of this file.
1 /*
2  * tgafile.h - this file contains fctn prototypes for Targa image parsing
3  *
4  * (C) Copyright 1994-2022 John E. Stone
5  * SPDX-License-Identifier: BSD-3-Clause
6  *
7  * $Id: tgafile.h,v 1.10 2022/02/18 17:55:28 johns Exp $
8  *
9  */
10 
11 /* declare other functions */
12 int createtgafile(char *, unsigned short, unsigned short);
13 void * opentgafile(char *);
14 void writetgaregion(void *, int, int, int, int, unsigned char *);
15 void closetgafile(void *);
16 int readtga(char * name, int * xres, int * yres, unsigned char **imgdata);
17 int writetga(char * name, int xres, int yres, unsigned char *imgdata);
int createtgafile(char *, unsigned short, unsigned short)
Definition: tgafile.c:29
int readtga(char *name, int *xres, int *yres, unsigned char **imgdata)
Definition: tgafile.c:182
void writetgaregion(void *, int, int, int, int, unsigned char *)
Definition: tgafile.c:97
void * opentgafile(char *)
Definition: tgafile.c:75
void closetgafile(void *)
Definition: tgafile.c:175
int writetga(char *name, int xres, int yres, unsigned char *imgdata)
Definition: tgafile.c:260