Ruben2776 / PicView

Fast, free and customizable image viewer for Windows 10 and 11.
https://picview.org
Other
995 stars 66 forks source link

[FR] horizontal gallery improvements : display uncropped images ? #53

Closed cannibalox closed 3 months ago

cannibalox commented 2 years ago

Is your feature request related to a problem? Please describe. some suggestions for the horizontal gallery view:

Ruben2776 commented 2 years ago

For thumbnail generation, I have two methods. One that is multi threaded/asynchronous and more resource intensive, but it only fires if the amount of images is at or above 250. What you are seeing is a background single threaded use. In hindsight, I should've done more testing with it and maybe put the number at 50 or perhaps only use the multi threaded solution. The multi threaded use seems to be acceptably fast in my folder at about 2,200 pics, but then again I have an overclocked gaming PC.

I have uploaded a new test version to Sourceforge, where the condition is set to 40 images instead of 250. Tell me if that works better for you. https://sourceforge.net/projects/picview/files/PicView-v1.5.6_win-x64-portable-.NET6-Req%20Gallery%20Test.zip/download

For the size and padding, let me think about it and get back to you on a later date.

Ruben2776 commented 2 years ago

Alright, progress report.

With release 1.6 I have improved the thumbnail gallery loading time. It should be a lot faster now,

For resizing thumbnail dimensions, that will be a bigger project. It is something I want to accomplish. When you enter the gallery, it scrolls to the selected item, which is somewhat easy to calculate since they all have the same dimension, so the program knows where to scroll immediately. When they have various sizes, I do not know how to calculate that. I'm not the sharpest with numbers, so if anyone could give me a helping hand that would be great.

I'll start working on it after I've created my image resizing window.

Edit: This will take place during Avalonia conversion #58.

Ruben2776 commented 3 months ago

You can now choose different stretching option for the galleries, allowing you to display them unstretched or not.