OpenJPEG  1.5.2
Functions
image.c File Reference
#include "opj_includes.h"

Functions

opj_image_topj_image_create0 (void)
 
Create an empty image More...
 
opj_image_t *OPJ_CALLCONV opj_image_create (int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc)
 
Create an image More...
 
void OPJ_CALLCONV opj_image_destroy (opj_image_t *image)
 
Deallocate any resources associated with an image More...
 

Function Documentation

◆ opj_image_create()

opj_image_t* OPJ_CALLCONV opj_image_create ( int  numcmpts,
opj_image_cmptparm_t cmptparms,
OPJ_COLOR_SPACE  clrspc 
)

◆ opj_image_destroy()

void OPJ_CALLCONV opj_image_destroy ( opj_image_t image)


Deallocate any resources associated with an image

Parameters
imageimage to be destroyed

References opj_image::comps, opj_image_comp::data, opj_image::numcomps, and opj_free.

Referenced by j2k_decode(), j2k_decode_jpt_stream(), and opj_image_create().