Search Results for

    Show / Hide Table of Contents

    Namespace IronSoftware.Pdfium.QPdf

    Classes

    PdfJsonStreamDataMode

    Specifies how stream data should be handled in JSON output. Maps to QPDF's qpdf_json_stream_data_e enum.

    PdfStreamDecodeLevel

    Specifies the level of stream decoding for JSON output. Maps to QPDF's qpdf_stream_decode_level_e enum.

    QPdfCompressionFlags

    Tunable qpdf compression flags. Mirrors the subset of QPDFJob options that IronPdf exposes during advanced compression.

    Defaults are tuned for size — they enable CoalesceContents and DecodeGeneralizedStreams, which produce smaller output than the legacy CompressAndSaveAs(bytes, path, jpeg: null, password) overload.

    To exactly reproduce legacy output, use IronSoftware.Pdfium.QPdf.QPdfCompressionFlags.Legacy(System.Nullable{System.Int32}) (internal preset the legacy overload itself uses).

    Example - opt in to image re-encoding:

    var flags = new QPdfCompressionFlags
    {
        OptimizeImages = true,
        JpegQuality   = 70
    };

    QPdfFlags

    Represents options for configuring QPdf processing and output behavior.

    QPdfJobException

    Thrown when a qpdfjob_run_from_json invocation returns a non-zero exit code. Carries the raw qpdf exit code so callers can branch on it without string parsing.

    QPdfJsonOptions

    Options for converting PDF to JSON format.

    QPdfObjectStreams

    Object stream mode written into the output PDF. Maps directly to qpdf's --object-streams values.

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget