3 Commits

Author SHA1 Message Date
f85263f271 fix: Darkness increases with higher values (#3448)
Previously, .darken(.98) would darken the image by 98%, now it darkens
by the inverse by 2%. This restores the original functionality.
2025-01-18 21:38:57 -05:00
de8e3bcea2 fix: Fix brighten and darken alpha issue (#3414)
Fix brighten and darken alpha issue.
This is all thanks to @jtmcdole's insight & fixes
[here](https://github.com/flame-engine/flame/pull/3407).

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com>
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
Co-authored-by: John McDole <john@mcdole.org>
2024-12-17 19:06:14 +01:00
a3f1601db8 feat: Adding ImageExtension.resize (#2418)
Adds a helper method to ImageExtension to make it easier to resize an image.
2023-03-31 11:39:08 +00:00