org.apache.fop.pdf

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.
Author:
Eric Dalquist

Method Summary

String
getDecodeParms()
Get the decode params for this filter.
String
getName()
Get filter name.

Methods inherited from class org.apache.fop.pdf.NullFilter

applyFilter, getDecodeParms, getName

Methods inherited from class org.apache.fop.pdf.PDFFilter

applyFilter, getDecodeParms, getName, isASCIIFilter, isApplied, setApplied

Method Details

getDecodeParms

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

getName

public String getName()
Get filter name.
Overrides:
getName in interface NullFilter
Returns:
the pdf name for the DCT filter

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.