1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-09-19 16:37:59 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
Guillaume Ayoub
2e96bdee35 Simplify API to get intrinsic size of images
The previous API wasn’t stateless, as it sometimes required to call
get_intrinsic_size before accessing intrinsic_ratio. The new API offers a
single method to get width, height and ratio.
2021-08-03 18:39:14 +02:00
Guillaume Ayoub
f240bae0b8 Handle SVG image tags for images with no intrinsic size 2021-07-31 00:30:00 +02:00
Lucie Anglade
8c23e982e8 Preserve ration when drawing image in svg 2021-07-30 17:15:15 +02:00
Lucie Anglade
cd42c6cabf Clip embedded svg 2021-07-30 16:42:00 +02:00
Guillaume Ayoub
8d7bcead0a Fix how x and y attributes are handled
Fix #1403.
2021-07-23 22:17:37 +02:00
Guillaume Ayoub
add1dad80b Use named parameters for stream transformation 2021-07-17 14:25:58 +02:00
Guillaume Ayoub
cef8cf109d Fix and simplify image size management 2021-07-12 15:07:31 +02:00
Guillaume Ayoub
2d19becf19 Improve SVG support 2021-04-30 18:13:08 +02:00
Guillaume Ayoub
dc861c785a Add more tests for SVG images 2021-04-19 17:52:25 +02:00
Guillaume Ayoub
541ed24472 Test SVG images 2021-04-18 16:01:26 +02:00