You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now fpdf2 uses the newly supported DCTDecode image filter for JPEG images,
instead of FlateDecode before, in order to improve the compression ratio without any image quality loss.
On test images, this reduced the size of embeded JPEG images by 90%.
FPDF.cell: the w (width) parameter becomes optional, with a default value of None, meaning to generate a cell with the size of the text content provided
the h (height) parameter of the cell, multi_cell & write methods gets a default value change, None, meaning to use the current font size
removed the useless w & h parameters of the FPDF.text_annotation() method
FPDF.cell: new optional markdown=True parameter that enables basic Markdown-like styling: **bold**, __italics__, --underlined--
FPDF.cell: new optional boolean center parameter that positions the cell horizontally
FPDF.set_link: new optional zoom parameter that sets the zoom level after following the link.
Currently ignored by Sumatra PDF Reader, but observed by Adobe Acrobat reader.
HTMLMixin / HTML2FPDF: now support align="justify"
new method FPDF.image_filter to control the image filters used for images