py-pdf / fpdf2

Simple PDF generation for Python
https://py-pdf.github.io/fpdf2/
GNU Lesser General Public License v3.0
993 stars 227 forks source link

FPDF.image() now handles keep_aspect_ratio in combination with an enum value provided to argument x #1199

Closed Lucas-C closed 2 weeks ago

Lucas-C commented 2 weeks ago

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the GNU LGPL 3.0 license.

Lucas-C commented 2 weeks ago

If you want to review this @gmischler & @andersonhc, I'll be happy to have your feedbacks 🙂

Else I'll merge this in a week or so.