jpegview
jpegview copied to clipboard
Refactor animated image cache deletion
Ha. You beat me to it. And your solution is done more elegantly than what I had in mind.
I'm pretty sure it was the delete jxl and stuff that caused the PSD block not to work, because those sections are subbed out. I'll put the ifdef in the right places when I try another XP build
Do you want to undraft this one or is there more changes you're doing for cache fixes?
@sylikc I haven't actually tested this, and I'll probably refactor more stuff later
Ok, yeah I wanted to try to look at the "fallback detection" idea that I had. It touches the same code as the cache cleanup, so I can test this when I develop or just merge it if you've used it.
My idea is to add an option as to what other methods to try to fallback when an image isn't properly loaded. It would address a behavior that I reported to remind myself #246