DiffusionToolkit
DiffusionToolkit copied to clipboard
increase max image/page to 2000
Currently capped at 500. Too arbitrary.
Ultimately, it's a performance question. Right now, on my machine, 250 gives a decent experience when paging. It also may not be entirely up to machine speed, but also how .NET renders stuff.
The thumbnail generation code could use a bit more work and should ideally only generate thumbnails when the thumbnail becomes visibile. I haven't gotten it to do this properly.
I'd probably need to rewrite the whole thumbnail viewer to make it really performant, and rely less on WPF binding.
I can change the max, but I didn't want people complaining about the slow performance of the thumbnail viewer when they do max it.
I wonder if old schoold optims can be used:
- These are jpg so you can load only the lowest frequency domains
- the screen only shows few images so combined clipping the loading + display with only loading lowest frequency domains of the jpg should substantially boost speed