Sourced from image's changelog.
Version 0.25.8
Re-release of
0.25.7Fixes:
- Reverted a signature change to
load_from_memorythat lead to large scale type inference breakage despite being technically compatible.- Color conversion Luma to Rgb used incorrect coefficients instead of broadcasting.
Version 0.25.7 (yanked)
Features:
- Added an API for external image format implementations to register themselves as decoders for a specific format in
image(#2372)- Added CICP awarenes via moxcms to support color spaces (#2531). The support for transforming is limited for now and will be gradually expanded.
- You can now embed Exif metadata when writing JPEG, PNG and WebP images (#2537, #2539)
- Added functions to extract orientation from Exif metadata and optionally clear it in the Exif chunk (#2484)
- Serde support for more types (#2445)
- PNM encoder now supports writing 16-bit images (#2431)
API improvements:
save,save_with_format,write_toandwrite_with_encodermethods onDynamicImagenow automatically convert the pixel format when necessary instead of returning an error (#2501)- Added
DynamicImage::has_alpha()convenience method- Implemented
TryFrom<ExtendedColorType>forColorType(#2444)- Added
const HAS_ALPHAto traitPixel- Unified the error for unsupported encoder colors (#2543)
- Added a
hooksmodule to customize builtin behavior,register_format_detection_hookandregister_decoding_hookfor the determining format of a file and selecting anImageDecoderimplementation respectively. (#2372)Performance improvements:
- Gaussian blur (#2496) and box blur (#2515) are now faster
- Improve compilation times by avoiding unnecessary instantiation of generic functions (#2468, #2470)
Bug fixes:
98b001d
Merge pull request #2592
from image-rs/release-0.25.8f862320
Metadata and changelog for a 0.25.83b1c1db
Merge pull request #2593
from image-rs/luma-to-rgb-transform-is-broadcast1f574d3
Replace manual rounding code with f32::round545cb37
Color tests in the middle of dynamic range9882fa9
Remove coefficients from luma_expand70b9aa3
Revert "Make load_from_memory generic"b94c333
Enable CI for backport brancha24556b
Merge pull request #2581
from image-rs/release-0.25.79175dbc
Fix readme typo (#2580)