Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
stb_image_write.h File Reference
#include <stdlib.h>
+ Include dependency graph for stb_image_write.h:
+ This graph shows which files directly or indirectly include this file:

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

STBIWDEF int stbi_write_tga_with_rle
 
STBIWDEF int stbi_write_png_compression_level
 
STBIWDEF int stbi_write_force_png_filter
 

Macro Definition Documentation

◆ STBIWDEF

#define STBIWDEF   extern

Definition at line 164 of file stb_image_write.h.

Typedef Documentation

◆ stbi_write_func

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

Definition at line 187 of file stb_image_write.h.

Function Documentation

◆ stbi_flip_vertically_on_write()

STBIWDEF void stbi_flip_vertically_on_write ( int flip_boolean)

◆ stbi_write_bmp()

STBIWDEF int stbi_write_bmp ( char const * filename,
int w,
int h,
int comp,
const void * data )

◆ stbi_write_bmp_to_func()

STBIWDEF int stbi_write_bmp_to_func ( stbi_write_func * func,
void * context,
int w,
int h,
int comp,
const void * data )

◆ stbi_write_hdr()

STBIWDEF int stbi_write_hdr ( char const * filename,
int w,
int h,
int comp,
const float * data )

◆ stbi_write_hdr_to_func()

STBIWDEF int stbi_write_hdr_to_func ( stbi_write_func * func,
void * context,
int w,
int h,
int comp,
const float * data )

◆ stbi_write_jpg()

STBIWDEF int stbi_write_jpg ( char const * filename,
int x,
int y,
int comp,
const void * data,
int quality )

◆ stbi_write_jpg_to_func()

STBIWDEF int stbi_write_jpg_to_func ( stbi_write_func * func,
void * context,
int x,
int y,
int comp,
const void * data,
int quality )

◆ stbi_write_png()

STBIWDEF int stbi_write_png ( char const * filename,
int w,
int h,
int comp,
const void * data,
int stride_in_bytes )

◆ stbi_write_png_to_func()

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 )

◆ stbi_write_tga()

STBIWDEF int stbi_write_tga ( char const * filename,
int w,
int h,
int comp,
const void * data )

◆ stbi_write_tga_to_func()

STBIWDEF int stbi_write_tga_to_func ( stbi_write_func * func,
void * context,
int w,
int h,
int comp,
const void * data )

Variable Documentation

◆ stbi_write_force_png_filter

STBIWDEF int stbi_write_force_png_filter

Definition at line 172 of file stb_image_write.h.

◆ stbi_write_png_compression_level

STBIWDEF int stbi_write_png_compression_level

Definition at line 171 of file stb_image_write.h.

◆ stbi_write_tga_with_rle

STBIWDEF int stbi_write_tga_with_rle

Definition at line 170 of file stb_image_write.h.