Skip to content

File stb_image_write.h

FileList > gui > stb_image_write.h

Go to the source code of this file

  • #include <stdlib.h>

Public Types

Type Name
typedef void stbi_write_func

Public Attributes

Type Name
int stbi_write_force_png_filter
int stbi_write_png_compression_level
int stbi_write_tga_with_rle

Public Functions

Type Name
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)

Macros

Type Name
define STBIWDEF extern

Public Types Documentation

typedef stbi_write_func

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

Public Attributes Documentation

variable stbi_write_force_png_filter

int stbi_write_force_png_filter;

variable stbi_write_png_compression_level

int stbi_write_png_compression_level;

variable stbi_write_tga_with_rle

int stbi_write_tga_with_rle;

Public Functions Documentation

function stbi_flip_vertically_on_write

STBIWDEF void stbi_flip_vertically_on_write (
    int flip_boolean
) 

function stbi_write_bmp

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

function 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
) 

function stbi_write_hdr

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

function 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
) 

function stbi_write_jpg

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

function 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
) 

function stbi_write_png

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

function 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
) 

function stbi_write_tga

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

function 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
) 

Macro Definition Documentation

define STBIWDEF

#define STBIWDEF extern


The documentation for this class was generated from the following file robot_dart/gui/stb_image_write.h