fix: image_canvas correctness + RAM fixes (v1.3.0)
- _imageSize reset on image switch (wrong swap threshold on nav) - downsample caps both dims (tall images no longer full-res decode) - single _readImageSize instead of leaking loadingBuilder listeners - evict old downsample provider on full-res swap - remove imageCache.clear() that dropped live image (gallery flash)
This commit is contained in:
1 parent
addece7ade
commit
72c35a8a26
6 files changed
+168
-21
No files matched your search
+9
-5
@@ -4,22 +4,26 @@ All notable changes to imajViewer are documented in this file.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Downsampling: large images decode at max 2048px on first load (RAM ~1.6MB)
|
||||
- Full-res swap: zooming in past 1.5x stretch swaps to original resolution
|
||||
- Image size tracking via `loadingBuilder` for swap threshold
|
||||
## [1.3.0] - 2026-08-14
|
||||
|
||||
### Fixed
|
||||
- RAM leak on image switch — old providers now evicted + `ImageCache.evict()`
|
||||
- `_imageSize` now resets on image switch (wrong swap threshold on navigation)
|
||||
- Downsample now caps both dimensions, not just width (tall images no longer full-res decode)
|
||||
- Image size listener leak in `loadingBuilder` — replaced with single `_readImageSize`
|
||||
- Old downsample provider now evicted on full-res swap
|
||||
- Removed `imageCache.clear()` that also dropped the live image (gallery flash)
|
||||
|
||||
## [1.2.0] - 2026-08-14
|
||||
|
||||
### Added
|
||||
- Downsampling: large images decode at max 2048px on first load (RAM ~1.6MB)
|
||||
- Full-res swap: zooming in past 1.5x stretch swaps to original resolution
|
||||
- Internationalization: Turkish + English, auto-detected from system locale
|
||||
- Zoom decodes at original resolution while zooming in (crisp details)
|
||||
- Max zoom increased to 20x
|
||||
|
||||
### Fixed
|
||||
- RAM leak on image switch — old providers now evicted + `ImageCache.evict()`
|
||||
- Black screen flash during zoom (gapless playback)
|
||||
|
||||
### Changed
|
||||
|
||||
Reference in new issue
Block a user