Class DCTFilter


  • public class DCTFilter
    extends NullFilter

    DCT Filter class. Right now it is just used as a dummy filter flag so we can write JPG images to the PDF. The encode method just returns the data passed to it. In the future an actual JPEG compression should be added to the encode method so other images can be compressed.

    This work was authored by Eric Dalquist.

    • Constructor Detail

      • DCTFilter

        public DCTFilter()
    • Method Detail

      • getName

        public java.lang.String getName()
        Get filter name.
        Overrides:
        getName in class NullFilter
        Returns:
        the pdf name for the DCT filter
      • getDecodeParms

        public PDFObject getDecodeParms()
        Get the decode params for this filter.
        Overrides:
        getDecodeParms in class NullFilter
        Returns:
        the DCT filter has no decode params