Package hdf.hdflib

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 Summary

      Fields 
      Modifier and Type Field Description
      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
      int quality
      Quality factor for JPEG compression, should be from 0 (terrible) to 100 (very good)
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • HDFJPEGCompInfo

        public HDFJPEGCompInfo()
      • HDFJPEGCompInfo

        public HDFJPEGCompInfo​(int qual,
                               int fb)