Use JWDecompress to decompress an existing .jpg file to RGB image data.
More...
#include <JWDecompress.hpp>
|
| jpeg_decompress_struct | dinfo |
| | IJG's decompression structure. More...
|
| |
|
| jpeg_error_mgr | jerr |
| | IJG's structures and pointers to those structures used by derived classes. More...
|
| |
| jpeg_error_mgr * | jerr_ptr |
| | IJG's structures and pointers to those structures used by derived classes. More...
|
| |
| jpeg_compress_struct * | cinfo_ptr |
| | IJG's structures and pointers to those structures used by derived classes. More...
|
| |
| jpeg_decompress_struct * | dinfo_ptr |
| | IJG's structures and pointers to those structures used by derived classes. More...
|
| |
|
|
| virtual JW & | set_file (const std::string &filename) |
| | Protected method to set the input or output file. More...
|
| |
| virtual JW & | set_file (FILE *f) |
| |
|
| std::string | fname |
| | The filename used for input (decompress) or output (compress) if set via set_file(). More...
|
| |
| FILE * | file |
| | Input/output file. Used for output when compressing, and input when decompressing. More...
|
| |
Use JWDecompress to decompress an existing .jpg file to RGB image data.
◆ decompress()
Decompress the given data.
◆ get_filename()
| virtual std::string JW::get_filename |
( |
void |
| ) |
const |
|
inlinevirtualinherited |
◆ set_file() [1/2]
| JW & JW::set_file |
( |
const std::string & |
filename | ) |
|
|
protectedvirtualinherited |
◆ set_file() [2/2]
| JW & JW::set_file |
( |
FILE * |
f | ) |
|
|
protectedvirtualinherited |
- Exceptions
-
| std::runtime_error | if the file pointer is null |
◆ set_input_file() [1/2]
| virtual JWDecompress& JWDecompress::set_input_file |
( |
const std::string & |
filename | ) |
|
|
inlinevirtual |
◆ set_input_file() [2/2]
| virtual JWDecompress& JWDecompress::set_input_file |
( |
FILE * |
f | ) |
|
|
inlinevirtual |
◆ cinfo_ptr
| jpeg_compress_struct* JW::cinfo_ptr |
|
inherited |
IJG's structures and pointers to those structures used by derived classes.
◆ dinfo
| jpeg_decompress_struct JWDecompress::dinfo |
IJG's decompression structure.
- See also
- jpeglib.h
◆ dinfo_ptr
| jpeg_decompress_struct* JW::dinfo_ptr |
|
inherited |
IJG's structures and pointers to those structures used by derived classes.
◆ file
Input/output file. Used for output when compressing, and input when decompressing.
◆ fname
◆ jerr
IJG's structures and pointers to those structures used by derived classes.
◆ jerr_ptr
| jpeg_error_mgr* JW::jerr_ptr |
|
inherited |
IJG's structures and pointers to those structures used by derived classes.
The documentation for this class was generated from the following files:
- src/JWDecompress.hpp
- src/JWDecompress.cpp