Namespace: PdfSharp.Pdf.Filters
Applies standard filters to streams.
public static class Filtering
Inheritance Object → Filtering
Gets the filter singleton.
public static AsciiHexDecode AsciiHexDecode { get; }
Gets the filter singleton.
public static Ascii85Decode Ascii85Decode { get; }
Gets the filter singleton.
public static LzwDecode LzwDecode { get; }
Gets the filter singleton.
public static FlateDecode FlateDecode { get; }
Gets the filter singleton.
public static DctDecode DctDecode { get; }
Gets the filter specified by the case sensitive name.
public static Filter GetFilter(string filterName)
filterName String
Encodes the data with the specified filter.
public static Byte[] Encode(Byte[] data, string filterName)
data Byte[]
filterName String
Encodes a raw string with the specified filter.
public static Byte[] Encode(string rawString, string filterName)
rawString String
filterName String
Decodes the data with the specified filter.
public static Byte[] Decode(Byte[] data, string filterName, FilterParms parms)
data Byte[]
filterName String
parms FilterParms
Decodes the data with the specified filter.
public static Byte[] Decode(Byte[] data, string filterName)
data Byte[]
filterName String
Decodes the data with the specified filter.
public static Byte[] Decode(Byte[] data, PdfItem filterItem, PdfItem decodeParms)
data Byte[]
filterItem PdfItem
decodeParms PdfItem
Decodes to a raw string with the specified filter.
public static string DecodeToString(Byte[] data, string filterName, FilterParms parms)
data Byte[]
filterName String
parms FilterParms
Decodes to a raw string with the specified filter.
public static string DecodeToString(Byte[] data, string filterName)
data Byte[]
filterName String