TGA Input

Read TGA images.

Summary
TGA InputRead TGA images.
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