gd_tga.c

Summary
gd_tga.c
Functions
gdImageCreateFromTgaCreates a gdImage from a TGA file
gdImageCreateFromTgaPtr
gdImageCreateFromTgaCtxCreates a gdImage from a gdIOCtx referencing a TGA binary file.

Functions

gdImageCreateFromTga

gdImagePtr gdImageCreateFromTga(FILE *fp)

Creates a gdImage from a TGA file

Parameters

infilePointer to TGA binary file

gdImageCreateFromTgaPtr

gdImagePtr gdImageCreateFromTgaPtr(int size,
void *data)

gdImageCreateFromTgaCtx

gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx *ctx)

Creates a gdImage from a gdIOCtx referencing a TGA binary file.

Parameters

ctxPointer to a gdIOCtx structure
gdImagePtr gdImageCreateFromTga(FILE *fp)
Creates a gdImage from a TGA file
gdImagePtr gdImageCreateFromTgaPtr(int size,
void *data)
gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx *ctx)
Creates a gdImage from a gdIOCtx referencing a TGA binary file.
Close