flutter_cache_manager
flutter_cache_manager copied to clipboard
need resizeImage more option
image_cache_manager.dart
line 89: var resizeFactor = max(resizeFactorHeight, resizeFactorWidth);
Get the maximum compression ratio here, which will make the picture very blurry. eg: rawImage size: 300 x 1000 display size: 50 x 50 resize: 15 x 50
Then the width of the display on the interface will stretch, and the picture will look terrible.
Can an option be enabled for the developer to decide how to resize? For example, change the code to the following var resizeFactor = min(resizeFactorHeight, resizeFactorWidth);