PeachDrawing.PDF.PdfComposerOptions

PdfComposerOptions.JxlPassthrough Property

<b>Experimental.</b> Whether an opaque, upright, non-animated gray or RGB JPEG XL image is embedded as its original bytes with the /JXLDecode filter instead of being decoded and recompressed. Defaults to false. There is no published PDF filter for JPEG XL yet: the name and layout follow the only open-source design so far (an experimental PDFium decoder), so no shipping PDF reader opens such a file today. A JPEG XL with alpha, animation or CMYK always takes the normal raster path, as does any image under Lossy. Same version restrictions as BrotliCompression.

public bool JxlPassthrough { get; set; }

Property Value

System.Boolean