Mercurial > octave-libtiff
view test/mex/bug_51725.c @ 31173:0abc9779f751
Tiff: modified readRGBAImage to use the orientation tag correctly
* __tiff__.cc (F__tiff_read_rgba_image__): modified the way the image
is read to use the orientation tag in the correct way.
author | magedrifaat <magedrifaat@gmail.com> |
---|---|
date | Tue, 16 Aug 2022 16:10:10 +0200 |
parents | e255f09dc70e |
children |
line wrap: on
line source
#include "mex.h" void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { if (nlhs > 0) plhs[0] = mxCreateDoubleMatrix (0, 0, mxREAL); if (nlhs > 2) plhs[2] = mxCreateDoubleMatrix (0, 0, mxREAL); }