Class HDFJPEGCompInfo


public class HDFJPEGCompInfo extends HDFOldCompInfo

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

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

  • Field Details

    • quality

      public int quality
      Quality factor for JPEG compression, should be from 0 (terrible) to 100 (very good)
    • force_baseline

      public 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
  • Constructor Details

    • HDFJPEGCompInfo

      public HDFJPEGCompInfo()
    • HDFJPEGCompInfo

      public HDFJPEGCompInfo(int qual, int fb)