Multithreaded display + others

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
foxyshadis

Multithreaded display + others

Post by foxyshadis »

General:
* Multithreading: It shouldn't be too difficult to multithread the resize functions, by splitting the image in 2 or 4 pieces with some overlap and giving each its own thread. Decoding is a lot tougher, the algorithms have to be rewritten, but maybe it's possible? (Some like jpeg should be simple to multithread, while jpeg-2000 might be a lot tougher.)
* The way cPicture shows folders is neat. (See here) Any chance of something like this?
* I hate having to manually close all the tabs when opening random pics. Can it be set to only use one unless multiple files are selected? Something like web browsers where you have to explicitly open a new tab with the middle button would be nice. That might interfere with everyone who likes it how it is now though. ^^;

Browser:
* jp2 images (plus progressive jpegs and other layered formats) should only be partially decoded in order to create the thumbnail and preview. It bites sitting around for a 5000x5000 jp2 to decode and resize just to get a 100x60 thumbnail, or anytime the pic is clicked on.
* The preview generation really should be a background thread, it locks up the app until it's generated.

Viewer:
* A progress bar while zooming into selected areas would be nice.
* A zoom slider similar to photoshop's, but please not so tiny and useless. Perhaps clicking on the zoom% on the status bar.
* A quick zoom back to 100%/window hotkey.
* An optimization of zooming by calculating only the pixels of the active output window first (sort of a cropped zoom), then calculate the rest of the image pixels after display (if at all - memory allocation may be part of the huge slowdown above 1500x1500, in which case a better allocator is needed). I believe this is how many other image viewers have such fast zooms.
* All processing should stop if back/forward is used and switched to the next; the UI is unresponsive while decoding/sizing so maybe that's why?
* If scrolling through too fast placeholder images could be shown with nothing but the filename (or thumbnail+filename?).

Shell:
* No thumbnails or context options in explorer for .jp2? Can these be added?

That's all for now, until I use it some more. ;)
Post Reply