HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stb_image_write.h File Reference
#include <stdlib.h>
+ Include dependency graph for stb_image_write.h:

Go to the source code of this file.

Macros

#define STBIWDEF   extern
 

Typedefs

typedef void stbi_write_func (void *context, void *data, int size)
 

Functions

STBIWDEF int stbi_write_png (char const *filename, int w, int h, int comp, const void *data, int stride_in_bytes)
 
STBIWDEF int stbi_write_bmp (char const *filename, int w, int h, int comp, const void *data)
 
STBIWDEF int stbi_write_tga (char const *filename, int w, int h, int comp, const void *data)
 
STBIWDEF int stbi_write_hdr (char const *filename, int w, int h, int comp, const float *data)
 
STBIWDEF int stbi_write_jpg (char const *filename, int x, int y, int comp, const void *data, int quality)
 
STBIWDEF int stbi_write_png_to_func (stbi_write_func *func, void *context, int w, int h, int comp, const void *data, int stride_in_bytes)
 
STBIWDEF int stbi_write_bmp_to_func (stbi_write_func *func, void *context, int w, int h, int comp, const void *data)
 
STBIWDEF int stbi_write_tga_to_func (stbi_write_func *func, void *context, int w, int h, int comp, const void *data)
 
STBIWDEF int stbi_write_hdr_to_func (stbi_write_func *func, void *context, int w, int h, int comp, const float *data)
 
STBIWDEF int stbi_write_jpg_to_func (stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality)
 
STBIWDEF void stbi_flip_vertically_on_write (int flip_boolean)
 

Variables

int stbi_write_tga_with_rle
 
int stbi_write_png_compression_level
 
int stbi_write_force_png_filter
 

Macro Definition Documentation

#define STBIWDEF   extern

Definition at line 163 of file stb_image_write.h.

Typedef Documentation

typedef void stbi_write_func(void *context, void *data, int size)

Definition at line 186 of file stb_image_write.h.

Function Documentation

STBIWDEF void stbi_flip_vertically_on_write ( int  flip_boolean)
STBIWDEF int stbi_write_bmp ( char const *  filename,
int  w,
int  h,
int  comp,
const void data 
)
STBIWDEF int stbi_write_bmp_to_func ( stbi_write_func func,
void context,
int  w,
int  h,
int  comp,
const void data 
)
STBIWDEF int stbi_write_hdr ( char const *  filename,
int  w,
int  h,
int  comp,
const float data 
)
STBIWDEF int stbi_write_hdr_to_func ( stbi_write_func func,
void context,
int  w,
int  h,
int  comp,
const float data 
)
STBIWDEF int stbi_write_jpg ( char const *  filename,
int  x,
int  y,
int  comp,
const void data,
int  quality 
)
STBIWDEF int stbi_write_jpg_to_func ( stbi_write_func func,
void context,
int  x,
int  y,
int  comp,
const void data,
int  quality 
)
STBIWDEF int stbi_write_png ( char const *  filename,
int  w,
int  h,
int  comp,
const void data,
int  stride_in_bytes 
)
STBIWDEF int stbi_write_png_to_func ( stbi_write_func func,
void context,
int  w,
int  h,
int  comp,
const void data,
int  stride_in_bytes 
)
STBIWDEF int stbi_write_tga ( char const *  filename,
int  w,
int  h,
int  comp,
const void data 
)
STBIWDEF int stbi_write_tga_to_func ( stbi_write_func func,
void context,
int  w,
int  h,
int  comp,
const void data 
)

Variable Documentation

int stbi_write_force_png_filter
int stbi_write_png_compression_level
int stbi_write_tga_with_rle