quick-picture-viewer
quick-picture-viewer copied to clipboard
[BUG] GIFs are slow (laggy)
Describe the bug The .gif files are slow when playing them. This is very noticeable, I compared with other photo viewers.
Info:
- App version: 3.1.4
- OS: Windows 10 LTSC 21H2 19044.2486
To Reproduce Run the .gif (in my case the weight of the .gif is 6MB).
Expected behavior My expectation is that .gif files should play smoothly NOT depending on their size as in other programs.
@Beelink
send this gif pls
send this gif pls
I also wanted to know why the zoom I set won't save? I set it to 100%, but it changes to auto every time.
In general, I would like to know how to make all the images and .gif to open were the original size if possible for my screen. Because I noticed that Quick Picture Viewer increases the size of images, that is, stretches them, although the original size image less. It's stressing me out, I constantly have to put 100% on zoom.
In ImageGlass, for example, there is no problem with this.
I looked into this one, and it seems like the version of .NET used by this project is the issue (WinForms with .NET 4.6).
- Managed to reproduce the issue with .NET 4.7.
- Issue fixed with .NET 8.0 LTS.
I tried migrating the project to .NET 8.0, but QuickLibrary
and SimplePsd
aren't compatible with .NET 8.0 at the moment. I could look into upgrading QuickLibrary
, but I'll need to measure side effects on other libs:
- https://github.com/ModuleArt/quick-color-picker
- https://github.com/ModuleArt/quick-screen-recorder
- https://github.com/ModuleArt/quick-whiteboard
The update to .NET 8.0 could tremendously benefit these apps, performance-wise it's a no brainer.
@Beelink what do you think?
@adriengivry All libs you mentioned are using the local dll for the QuickLibrary (example) so I think it's okay to update QPV and QuickLibrary to .NET 8.0 LTS but I don't know how it should be done in the right way.
@adriengivry Could you help me with that?
@Beelink You need to use Visual Studio Upgrade Assistant (right click on a c# project --> upgrade). There is a bug sometimes you might need to right click twice 🤷♂️
You'll have to remove some deprecated code sections. I've updated it myself to .NET8.0 on my fork (Commit: https://github.com/adriengivry/QuickPictureViewerPlus/commit/3a4fdb128b38e2ac47d18e9c3978f83762f79664)