Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF  4.3.0
API Reference
 
Loading...
Searching...
No Matches
HDFJPEGCompInfo Class Reference

Detailed Description

This class is a container for the parameters to the HDF JPEG compression class.

In this case, the parameters are the quality and baseline.

+ Inheritance diagram for HDFJPEGCompInfo:

Public Member Functions

 HDFJPEGCompInfo ()
 
 HDFJPEGCompInfo (int qual, int fb)
 
- Public Member Functions inherited from HDFOldCompInfo
 HDFOldCompInfo ()
 
- Public Member Functions inherited from HDFCompInfo
 HDFCompInfo ()
 

Data Fields

int quality
 
int force_baseline
 
- Data Fields inherited from HDFOldCompInfo
int ctype
 
- Data Fields inherited from HDFCompInfo
int ctype
 

Constructor & Destructor Documentation

◆ HDFJPEGCompInfo() [1/2]

◆ HDFJPEGCompInfo() [2/2]

HDFJPEGCompInfo ( int qual,
int fb )

Field Documentation

◆ force_baseline

int force_baseline

If force_baseline is set to TRUE then quantization tables are limited to 0..255 for JPEG baseline compatibility This is only an issue for quality settings below 24

◆ quality

int quality

Quality factor for JPEG compression, should be from 0 (terrible) to 100 (very good)


The documentation for this class was generated from the following file: