dlib.image.io.tga

Decode JPEG images

Members

Classes

TGALoadException
class TGALoadException
Undocumented in source.

Enums

TGAEncoding
enum TGAEncoding
Undocumented in source.
TgaOrigin
enum TgaOrigin
Undocumented in source.

Functions

loadTGA
SuperImage loadTGA(string filename)

Load PNG from file using local FileSystem. Causes GC allocation

loadTGA
SuperImage loadTGA(InputStream istrm)

Load TGA from stream using default image factory. Causes GC allocation

loadTGA
Compound!(SuperImage, string) loadTGA(InputStream istrm, SuperImageFactory imgFac)

Load TGA from stream using specified image factory. GC-free

saveTGA
void saveTGA(SuperImage img, string filename)

Save TGA to file using local FileSystem. Causes GC allocation

saveTGA
Compound!(bool, string) saveTGA(SuperImage img, OutputStream output)

Save TGA to stream. GC-free

swapRGB
void swapRGB(SuperImage img)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

TGAHeader
struct TGAHeader
Undocumented in source.

Meta

Authors

Timur Gafarov, Roman Chistokhodov