Tobias Schmitz
2d3e883d2b
refactor: apply some suggestions
...
- rename Loaded::bytes to data
- change `let data = source.load()` to `let loaded`
- only expose a single `within` method for the LoadedWithin trait
- invalid utf-8 data is a rare edge case
- only store one EcoString inside LoadError
- mutate it when using `LoadedWithin::within` method
2025-06-10 13:47:41 +02:00
Tobias Schmitz
0e8c2e080d
refactor: fix some clippy warnings
2025-06-10 13:47:41 +02:00
Tobias Schmitz
1c4eea8353
feat: use LoadError to avoid polluting memoization with callsite spans and file ids
2025-06-10 13:47:41 +02:00
Linus Unnebäck
1de2095f67
Add support for WebP images ( #6311 )
2025-06-04 09:54:03 +00:00
PgBiel
3fba256405
Don't crash on image with zero DPI ( #5835 )
2025-02-10 10:39:04 +00:00
Laurenz
12dbb012b1
Revert adding flatten-text
to image
( #5789 )
2025-02-02 19:25:58 +00:00
frozolotl
3eb6e87af1
Include images from raw pixmaps and more ( #5632 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-31 09:56:25 +00:00
Laurenz
e2b37fef33
Revamp data loading and deprecate decode
functions ( #5671 )
2025-01-09 09:34:16 +00:00
Laurenz
dacd6acd5e
More flexible and efficient Bytes
representation ( #5670 )
2025-01-08 10:57:56 +00:00
Emmanuel Lesueur
257764181e
New curve
element that supersedes path
( #5323 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 15:58:57 +00:00
Peng Guanwen
73253d4651
Support for defining which charset should be covered by a font ( #5305 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 14:07:45 +00:00
Laurenz Stampfl
67ef6066f4
Add support for converting text in SVGs to paths ( #5390 )
2024-12-08 17:06:25 +00:00
Laurenz
be7cfc85d0
Split out four new crates ( #5302 )
2024-10-27 18:04:55 +00:00