cloudy-org / roseate

🌹 A fast as fuck, memory efficient and simple but fancy image viewer built with 🦀 Rust that's cross platform. (WIP)
GNU General Public License v3.0
14 stars 0 forks source link

Dynamic Downsampling #25

Open THEGOLDENPRO opened 3 weeks ago

THEGOLDENPRO commented 3 weeks ago

At the moment images are downsampled to around display resolution on image load so for example if we have an image that is 3840 x 2160 (4k) getting loaded but our display / monitor is only 1080p, roseate will automatically downsample that image to 1920x1080 (plus some extra pixels).

This is great until we start zooming into the image and notice all the clarity we have lost, so let's dynamically adjust the downsampling when the user zooms in/out.

However this will need to be done in the background hence we will need #24 to be completed first.

THEGOLDENPRO commented 6 days ago

Now that downsampling is multi-threaded this feature can begin to be implemented.