Guillaume Ayoub
0ff8692741
Handle overflow for svg and symbol tags in SVG images
...
Fix #1864 .
2023-04-18 20:10:22 +02:00
Guillaume Ayoub
e17e5368f7
Update and clean docstrings.
2022-02-14 07:11:30 +01:00
Guillaume Ayoub
302f09d54a
Always use absolute paths to get hrefs in SVG
...
Also be more fault-tolerant when trying to render use tags.
Fix #1531 .
2022-01-03 14:14:36 +01:00
Guillaume Ayoub
cb97228c04
Initial support of SVG emojis
...
Related to #1406 .
2021-08-30 11:10:24 +02:00
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