github SDWebImage/SDWebImage 5.17.0
5.17.0 - Reduce RAM with Force Decode

latest releases: 5.20.0, 5.19.7, 5.19.6...
16 months ago

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.
  • For coder plugin who want to opt-in to avoid CA::copy_image, use the new preferredPixelFormat: 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.

Don't miss a new SDWebImage release

NewReleases is sending notifications on new releases.