Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://coin3d.github.io
https://www.kongsberg.com/en/kogt/
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()