| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 2.4.0 source code.tar.gz | 2026-06-22 | 4.6 MB | |
| 2.4.0 source code.zip | 2026-06-22 | 4.7 MB | |
| README.md | 2026-06-22 | 1.1 kB | |
| Totals: 3 Items | 9.3 MB | 0 | |
Add
- Add
maxRenderSizeparameter to allAPNGImageinitializers. When set, the compositing canvas and cached frames are downsampled to fit within the given size, significantly reducing memory usage for oversized APNGs. The image's logicalsizeand layout behavior are unchanged. #151 @plateaukao #152 @onevcat
Fix
- Integralize the render-space rectangle in
APNGDecoder.renderRect(_:)to prevent fractional coordinates from causingCGImage.cropping(to:)to returnnilduring.previousdisposal, and to avoid 1px gaps between partial-frame regions. #152 - Fix the Demo app's Frames overlay to use proportional coordinates, so the frame-region highlight stays correctly aligned when
maxRenderSizedownsampling is active. #152
Note
- Update CI to
macos-26runner, actions v4, Ruby 3.3, and Xcode 26.5 toolchain. #152