See all tickets marked for the 5.17.0 release
Performance
- Refactory the logic to handle force decode logic to avoid CA copy frame buffer, introduce SDImageForceDecodePolicy detailed control #3559 #3417
-
- This fix the issue that non-ImageIO coder (means, WebPCoder) will cause CA to copy bitmap buffers and increase memory usage.
-
- You can still custom the behavior using the new
SDImageForceDecodePolicy
, defaults to automatic.
- You can still custom the behavior using the new
- For coder plugin who want to opt-in to avoid
CA::copy_image
, use the newpreferredPixelFormat:
and do byte alignment and colorspace convert.
Fixes
- Fix macOS bug that SDImageCoderDecodeScaleDownLimitBytes still use the AnimatedImageRep and beyond the byte limit #3561
- Change macOS
sd_colorAtPoint/sd_colorsWithRect
which may loss colorspace information. Now it correctly convert to sRGB colorspace always.