simage  1.8.3
Coin3D texture image library
Loading...
Searching...
No Matches
simage13.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

unsigned char * simage_resize3d (unsigned char *src, int width, int height, int nc, int layers, int newwidth, int newheight, int newlayers)
 

Function Documentation

◆ simage_resize3d()

unsigned char * simage_resize3d ( unsigned char * imagedata,
int width,
int height,
int numcomponents,
int layers,
int newwidth,
int newheight,
int newlayers )

Returned image buffer must be freed by simage_free_image()