.TH "dec_jpeg2000.c" 3 "Fri Jun 3 2022" "Version 1.6.4" "NCEPLIBS-g2c" \" -*- nroff -*- .ad l .nh .SH NAME dec_jpeg2000.c \- Decodes JPEG2000 code stream\&. .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'grib2\&.h'\fP .br \fC#include 'jasper/jasper\&.h'\fP .br .SS "Functions" .in +1c .ti -1c .RI "int \fBdec_jpeg2000\fP (char *injpc, \fBg2int\fP bufsize, \fBg2int\fP *outfld)" .br .RI "This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i\&.e\&., ISO/IEC 15444-1) using JasPer Software version 1\&.500\&.4 (or 1\&.700\&.2) written by the University of British Columbia and Image Power Inc, and others\&. " .in -1c .SH "Detailed Description" .PP Decodes JPEG2000 code stream\&. .PP \fBAuthor\fP .RS 4 Stephen Gilbert .RE .PP \fBDate\fP .RS 4 2002-12-02 .RE .PP .PP Definition in file \fBdec_jpeg2000\&.c\fP\&. .SH "Function Documentation" .PP .SS "int dec_jpeg2000 (char * injpc, \fBg2int\fP bufsize, \fBg2int\fP * outfld)" .PP This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i\&.e\&., ISO/IEC 15444-1) using JasPer Software version 1\&.500\&.4 (or 1\&.700\&.2) written by the University of British Columbia and Image Power Inc, and others\&. JasPer is available at http://www.ece.uvic.ca/~mdadams/jasper/\&. .PP \fBParameters\fP .RS 4 \fIinjpc\fP Input JPEG2000 code stream\&. .br \fIbufsize\fP Length (in bytes) of the input JPEG2000 code stream\&. .br \fIoutfld\fP Output matrix of grayscale image values\&. .RE .PP \fBReturns\fP .RS 4 .IP "\(bu" 2 0 Successful decode .IP "\(bu" 2 -3 Error decode jpeg2000 code stream\&. .IP "\(bu" 2 -5 decoded image had multiple color components\&. Only grayscale is expected\&. .PP .RE .PP \fBNote\fP .RS 4 Requires JasPer Software version 1\&.500\&.4 or 1\&.700\&.2\&. .RE .PP \fBAuthor\fP .RS 4 Stephen Gilbert .RE .PP \fBDate\fP .RS 4 2002-12-02 .RE .PP .PP Definition at line 43 of file dec_jpeg2000\&.c\&. .PP Referenced by jpcunpack()\&. .SH "Author" .PP Generated automatically by Doxygen for NCEPLIBS-g2c from the source code\&.