MaxInlineImageSize
maxInlineImageSize
Method Name
Argument Name
Argument Type
maxInlineImageSize
size
integer
Specifies the maximum size of an inline image, in bytes. For images larger than this size, pdfwrite will create an XObject instead of embedding the image into the context stream.
The default value is 4000.
Note that redundant inline images must be embedded each time they occur in the document, while multiple references can be made to a single XObject image. Therefore, it may be advantageous to set a small or zero value if the source document is expected to contain multiple identical images, reducing the size of the generated PDF.
Last updated