Glide v5.0.8
N/A
N/A
- Upgrade Glide build system to Gradle 9.4.1, AGP 8.8.0, and Kotlin/KSP 2.0.20, resolving various build and test compatibility issues.
- Bump Glide
compileSdkVersionto 37 and Robolectric to 4.16.1. - Bump Glide
minSdkVersionto 23 to match AndroidX requirements. - Restore deterministic module sorting in Glide annotation processors to improve build reproducibility (Fixes #5657).
- Fix Javadoc style issue in
setMemoryCategoryInBackgroundthat was breaking Renovate tooling (Fixes #5680). - Fix PMD violations in
Glide.javaandGlideExecutor.java(AccessorMethodGeneration and RedundantFieldInitializer). - Fix fragile use of
TypeMirror#toStringin annotation compiler. - Update tests to run on API 24.
It should be safer to use Android's ImageDecoder (introduced in Android 9.0 Pie / API 28) with Glide on Android Q (API 29) and above. Please consider trying it out, as ImageDecoder is the now preferred mechanism for decoding images in Android and may yield performance and memory usage benefits.
Several critical issues have been resolved in this release:
- OOM/ANR Fixes: Fixed potential OutOfMemory (OOM) errors and Application Not Responding (ANR) issues when using
ImageDecoderwith certain input streams or whenArrayPoolbuffer allocation was enabled. - Unbounded Allocations: Fixed unbounded memory allocations when decoding bitmaps from
InputStreamsource types. - Buffer Pooling: Added support for allocating
ImageDecoderByteBuffers via Glide'sArrayPoolto avoid double-allocation overhead (enabled viasetUseArrayPoolForImageDecoderByteBufferAllocation). - Direct Uri Decoding: Direct decoding of Bitmaps from Uris using
ImageDecoderis now supported. To enableImageDecoderin your application, configure the options in yourAppGlideModuleaccordingly:
@GlideModule
public class MyAppGlideModule extends AppGlideModule {
@Override
public void applyOptions(@NonNull Context context, @NonNull GlideBuilder builder) {
// Enable ImageDecoder for Bitmaps (Android Q+)
builder.setImageDecoderEnabledForBitmaps(true);
// Enable ImageDecoder for Uris (Android Q+)
builder.setUriImageDecoderEnabled(true);
// Enable optimized buffer pooling for ImageDecoder
builder.setUseArrayPoolForImageDecoderByteBufferAllocation(true);
// Use heap buffers for ImageDecoder with InputStreams to avoid native memory overhead
builder.setUseHeapBufferForImageDecoderWithInputStream(true);
}
}
- Direct Uri Decoding: Implement
UriBitmapImageDecoderResourceDecoderto allow direct decoding of Bitmaps from Uris using Android'sImageDecoder. - Direct Memory Decoding: Support direct memory decoding for byte buffers and arrays without stream wrapping.
- HEIF/HEIC Detection: Add HEIF/HEIC format detection to
DefaultImageHeaderParser. - Disk Cache Path Memoization: Add a setting to disable disk cache path name memoization in
DiskLruCacheto reduce retained memory. - ImageDecoder Buffer Pooling: Add
ImageDecoderByteBuffer allocation viaArrayPoolto avoid double-allocation overhead (flag-guarded byUseArrayPoolForImageDecoderByteBufferAllocation). - Fix Unbounded Allocations: Fix unbounded bitmap allocations in Glide
ImageDecoderwhen usingInputStream(flag-guarded byUseHeapBufferForImageDecoderWithInputStream). - ImageDecoder OOM/ANR Fix: Reject unknown stream formats in
InputStreamBitmapImageDecoderResourceDecoder.handlesto prevent OOMs/ANRs whenArrayPoolis enabled. - Resource Leak Fix: Fix resource leak in
ByteBufferUtil.fromStreamby ensuring buffers fromArrayPoolare returned on exception. - Picker URI Support: Update
isAndroidPickerUrito support new picker URI variations (likepicker_get_content/andpicker_transcoded/). - Memory Tracking Logs: Add "GlideMemoryTracking" debug tag to trace memory overhead from scaling and cache hits.
- Experimental Downsample Strategy: Add experimental option
setCenterInsideAsDefaultDownsampleStrategytoGlideBuilderto allow usingCENTER_INSIDEas the default downsampling strategy.
Full Changelog: https://github.com/bumptech/glide/compare/v5.0.7...v5.0.8
4.2.0-alpha01
- Improved AVIF and HEIC encoding/decoding performance
- Added support for AV2-based AVIF images
- Added chroma subsampling selection for AVIF and HEIC formats
- Added VVC encoding support for HEIF format
- Added Batch Rename tool
- Added ability to cancel loading in spot heal draw mode by #2944
- Added ability to use slices in original name filename pattern by #2951
- Added new filename patterns: Parent Folder, UUID
- Added ability to move and customize markup layers menu by #2941
- Added Auto White Balance filter by #2953
- Improved original filename and sequence filename patterns
- Improved cropper output quality by #2942
- Fixed rotation buttons for RTL languages by #2946
- Fixed compare slider lag by #2945
- Minor bug fixes
Full Changelog: https://github.com/T8RIN/ImageToolbox/compare/4.1.0...4.2.0-alpha01
0.87.0-rc.0
[!WARNING] This is a release candidate. It is not intended for production use.
Install:
npm install react-native@0.87.0-rc.0
Report issues: https://github.com/react/react-native/issues
4.1.0
- Added ability to delete original files after saving
- Added a recently used tools card with an option to disable it
- Added ability to search through Help & Tips
- Added setting to control animations duration scale
- Added app usage statistics in settings
- Added Torn Edge and Drop Shadow filters by #2890
- Added saving of last used row/column count in Image Splitting tool by #2889
- Added ability to save and reuse export profiles in Single Edit and Resize & Convert
- Added ability to disable border around image in Draw and Erase tools by #2894
- Added ability to select 3 new shape types:
- Wavy
- Scoop
- Notch
- Added ability to use filename as placeholder in watermarking tool by #2904
- Added ability to align layer in markup layers tool more than center by #2912
- Added ability to duplicate filters
- Added a Recent Filters section to the filter selection sheet
- Added keep EXIF toggle in cropper by #2929
- Added exit confirmation for document scanner by #2933
- Added ability to enable dragging for expanded option sheets by #2938
- Added 16 new filters:
- Flare
- Distort Perspective
- Java Look And Feel
- Shear
- Water Drop
- High Pass
- Color Mask
- Adaptive Blur
- Chrome
- Dissolve
- Feedback
- Lens Blur
- Levels
- Light Effects
- Rays
- Ripple
- Added Texture Generation Tool with 60 procedural textures:
- Brushed Metal
- Caustics
- Cellular
- Checkerboard
- FBM
- Marble
- Plasma
- Quilt
- Wood
- Brick
- Camouflage
- Cell
- Cloud
- Crack
- Fabric
- Foliage
- Honeycomb
- Ice
- Lava
- Nebula
- Paper
- Rust
- Sand
- Smoke
- Stone
- Terrain
- Topography
- Water Ripple
- Advanced Wood
- Grass
- Dirt
- Leather
- Concrete
- Asphalt
- Moss
- Fire
- Aurora
- Oil slick
- Watercolor
- Abstract flow
- Opal
- Damascus Steel
- Lightning
- Velvet
- Ink Marbling
- Holographic Foil
- Bioluminescence
- Cosmic Vortex
- Lava Lamp
- Event Horizon
- Fractal Bloom
- Chromatic Tunnel
- Eclipse Corona
- Strange Attractor
- Ferrofluid Crown
- Supernova
- Iris
- Peacock Feather
- Nautilus Shell
- Ringed Planet
- Improved auto corners detection for FOSS document scanner by #2885
- Improved tools search by adding keywords
- Improved GIF converter by #2915
- Improved GIF encoding performance with a new Rust-based encoder
- Improved performance of 50 old filters
- Improved Auto Perspective filter
- Various optimizations and UI improvements
- Fixed one finger zoom in cropper by #2893
- Fixed line angle indicator when magnifier is enabled
- Fixed PDF watermark tool by #2901
- Fixed PDF page numbers tool
- Fixed saving to the original folder and improved overwrite handling by #2922
- Fixed palette tools save button visibility by #2924
Full Changelog: https://github.com/T8RIN/ImageToolbox/compare/4.0.0...4.1.0
4.1.0-rc04
- Added the ability to duplicate filters
- Added a Recent Filters section to the filter selection sheet
- Added keep exif toggle in cropper by #2929
- Improvements before stable release
Full Changelog: https://github.com/T8RIN/ImageToolbox/compare/4.1.0-rc03...4.1.0-rc04
4.1.0-rc03
- Improved GIF encoding performance with a new Rust-based encoder
- Added 16 new filters:
- Flare
- Distort Perspective
- Java Look And Feel
- Shear
- Water Drop
- High Pass
- Color Mask
- Adaptive Blur
- Chrome
- Dissolve
- Feedback
- Lens Blur
- Levels
- Light Effects
- Rays
- Ripple
- Added Texture Generation Tool with 9 textures:
- Brushed Metal
- Caustics
- Cellular
- Checkerboard
- FBM
- Marble
- Plasma
- Quilt
- Wood
- Improved performance of 50 old filters
- Fixed saving to the original folder and improved overwrite handling by #2922
- Fixed palette tools save button visibility by #2924
- Fixed various issues and improved UI
Full Changelog: https://github.com/T8RIN/ImageToolbox/compare/4.1.0-rc02...4.1.0-rc03
4.1.0-rc02
- Added ability to align layer in markup layers tool more than center by #2912
- Improved GIF converter by #2915
- Fixes and polishes
Full Changelog: https://github.com/T8RIN/ImageToolbox/compare/4.1.0-rc01...4.1.0-rc02
4.1.0-rc01
- Added ability to select 3 new shape types:
- Wavy
- Scoop
- Notch
- Fixed invalid colorspace ID crash
- Added ability to use filename as placeholder in watermarking tool by #2904
- Improved UI
Full Changelog: https://github.com/T8RIN/ImageToolbox/compare/4.1.0-beta02...4.1.0-rc01