Baseflow / Baseflow/flutter_cache_manager
need resizeImage more option
- 主要言語
- Dart
- スター
- 809
- フォーク
- 510
- 平均マージ
- 6分
- マージ済み PR(30日)
- 1
説明
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);
コントリビューションガイド
調査の方向性
Start in image_cache_manager.dart at line 89 and trace how resizeFactorHeight and resizeFactorWidth determine the cached image dimensions. Define the developer-facing resize option requested by the issue, then verify that the 300 x 1000 versus 50 x 50 example avoids excessive blurring and unwanted stretching.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- dart
- 領域
- mobile-dev
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100