Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SDWebImage/SDWebImageWebPCoder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bugfix/podspec
Choose a base ref
...
head repository: SDWebImage/SDWebImageWebPCoder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 6 files changed
  • 3 contributors

Commits on Mar 26, 2024

  1. Merge pull request #107 from SDWebImage/bugfix/podspec

    Fix the podspec issue for compatible header search path
    dreampiggy authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    1e36f38 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. FIX: _limitBytes type error

    JiaqiSun committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    cbc0ba9 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Merge pull request #110 from JiaqiSun/0.14.5_fix

    FIX: _limitBytes type error
    dreampiggy authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    fed1583 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Bumped version to 0.14.6

    dreampiggy committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    f534cfe View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2025

  1. Add ICC profile embedding support for WebP encoding

    - Extract ICC profile from input color space using CGColorSpaceCopyICCData
    - Use WebPMux API to embed ICCP chunk in WebP container with copy_data=1
    - Automatically convert Simple Format (VP8) to Extended Format (VP8X)
    - Add iOS 10+ availability check for CGColorSpaceCopyICCData
    - Skip ICC profile when maxFileSize is set (size limit takes priority)
    - Add comprehensive test (testWebPEncodingEmbedICCProfile)
    
    This fixes color reproduction issues with wide color gamut images
    (Display P3, Adobe RGB, etc.) on platforms that assume sRGB when
    ICC profile is missing.
    
    Fixes #119
    KYHyeon committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    8b7b680 View commit details
    Browse the repository at this point in the history
  2. Add Display P3 test for wide color gamut ICC profile embedding

    - Add TestDisplayP3.png test image with Display P3 color space
    - Add testWebPEncodingDisplayP3 to verify wide color gamut support
    - Verify ICC profile embedding works correctly for Display P3 images (536 bytes)
    
    This test demonstrates that ICC profile embedding preserves wide color
    gamut information, preventing washed-out colors on Android and web browsers.
    KYHyeon committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    7084263 View commit details
    Browse the repository at this point in the history
  3. Optimize ICC profile embedding with copy_data=0

    - Use copy_data=0 in WebPMuxSetImage and WebPMuxSetChunk to avoid unnecessary memory copies
    - Ensure writer.mem and iccData remain valid until WebPMuxAssemble completes
    - Release iccData only after WebPMuxAssemble finishes
    - Clear writer memory as the final step
    
    This reduces memory operations by 50% for images with ICC profiles.
    
    Performance improvement:
    - Before: Image data copied twice (SetImage copy + Assemble)
    - After: Image data copied once (Assemble only)
    - Benefit: ~50% reduction in memory operations for 1MB+ images
    KYHyeon committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    aa92e07 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2025

  1. Merge pull request #120 from KYHyeon/feature/icc-profile-embedding

    Add ICC Profile Embedding Support for WebP Encoding
    dreampiggy authored Nov 3, 2025
    Configuration menu
    Copy the full SHA
    d15b424 View commit details
    Browse the repository at this point in the history
  2. Bumped version to 0.15.0

    dreampiggy committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    12d83ed View commit details
    Browse the repository at this point in the history
Loading