Linearized Output
Mako can produce linearized PDF output, sometimes known as "web ready" PDF. Linearization enables more efficient structuring and streaming of PDFs. This is important for scenarios where PDFs are accessed over a network or internet connection.
Turning on Linearization
Enabling linearized output is easy, and requires a single call to your IPDFOutput
class.
CPP
|
C#
|
Turning on linearization will generally make outputting the PDF a slightly slower operation.
When set, a request to use incremental serialization (see Incremental Output) is ignored.