PICCANTE  0.4
The hottest HDR imaging library!
Classes | Namespaces | Macros | Functions
tga.hpp File Reference
#include <stdio.h>
#include <string>
#include <iostream>
#include "../base.hpp"
#include "../util/buffer.hpp"

Go to the source code of this file.

Classes

struct  pic::TGA_HEADER
 The TGA_HEADER struct. More...
 

Namespaces

 pic
 

Macros

#define PIC_IO_TGA_HPP
 

Functions

PIC_INLINE unsigned char * pic::ReadTGA (std::string nameFile, unsigned char *data, int &width, int &height, int &channels)
 ReadTGA reads an image in the .tga format. More...
 
PIC_INLINE bool pic::WriteTGA (std::string nameFile, const unsigned char *data, int width, int height, int channels)
 WriteTGA writes an image in the .tga format. More...
 

Macro Definition Documentation

◆ PIC_IO_TGA_HPP

#define PIC_IO_TGA_HPP