simage  1.8.3
Coin3D texture image library
Loading...
Searching...
No Matches
simage12.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <config.h>
#include <simage.h>
#include <simage_private.h>
#include <string.h>

Functions

int s_image_components (s_image *image)
 
s_images_image_create (int w, int h, int components, unsigned char *prealloc)
 
unsigned char * s_image_data (s_image *image)
 
void s_image_destroy (s_image *image)
 
int s_image_get_component_order (s_image *image)
 
int s_image_height (s_image *image)
 
s_images_image_load (const char *filename, s_image *prealloc)
 
int s_image_save (const char *filename, s_image *image, s_params *params)
 
void s_image_set (s_image *image, int w, int h, int components, unsigned char *data, int copydata)
 
int s_image_set_component_order (s_image *image, int order)
 
int s_image_width (s_image *image)
 

Function Documentation

◆ s_image_components()

int s_image_components ( s_image * image)

◆ s_image_create()

s_image * s_image_create ( int w,
int h,
int components,
unsigned char * prealloc )

◆ s_image_data()

unsigned char * s_image_data ( s_image * image)

◆ s_image_destroy()

void s_image_destroy ( s_image * image)

◆ s_image_get_component_order()

int s_image_get_component_order ( s_image * image)

◆ s_image_height()

int s_image_height ( s_image * image)

◆ s_image_load()

s_image * s_image_load ( const char * filename,
s_image * prealloc )

◆ s_image_save()

int s_image_save ( const char * filename,
s_image * image,
s_params * params )

◆ s_image_set()

void s_image_set ( s_image * image,
int w,
int h,
int components,
unsigned char * data,
int copydata )

◆ s_image_set_component_order()

int s_image_set_component_order ( s_image * image,
int order )

◆ s_image_width()

int s_image_width ( s_image * image)