Skip to content

Loading jpg takes 2 seconds to load complete #2111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sdugoten opened this issue Mar 22, 2025 · 5 comments
Open

Loading jpg takes 2 seconds to load complete #2111

sdugoten opened this issue Mar 22, 2025 · 5 comments
Labels

Comments

@sdugoten
Copy link

sdugoten commented Mar 22, 2025

System information

  • Windows OS version: Windows 11 24H2
  • ImageGlass version: Version: 9.2.1.202 (64-bit)
  • ImageGlass release: Store / Classic? Store

To Reproduce

Steps to reproduce the behavior:

  1. Open any jpeg file
  2. It will load the image, but it's blurry, and need about 2 seconds before the image is clear

Actual behavior

It will load the image, but it's blurry, and need about 2 seconds before the image is clear

Expected behavior

The file should be clear as soon as it load. Other image viewer have no such problem on the same jpeg file.

Screenshots / Video / Sample image file

Image

Additional context

You can see the image above, this is what happen when it is loading the image

@sdugoten
Copy link
Author

This is the original jpeg file

IMG_0157_20250211.zip

@sdugoten
Copy link
Author

temp2.zip

Actually, it doesn't matter the file size, I found some picture even it's small and it's still take a while to load, see attached

@sdugoten sdugoten changed the title Loading 15Mb jpg takes 2 seconds to load complete Loading jpg takes 2 seconds to load complete Mar 22, 2025
@d2phap
Copy link
Owner

d2phap commented Mar 23, 2025

The loading speed depends on the image format and dimension not the file size. By default, ImageGlass checks the embedded preview of the image and display it first, and then display the image in full resolution.

In your sample image files, the embedded preview dimension is very small ~256 x 171px. That's why you saw it's blurry. You can disable the this by deselecting the setting "Display image preview while it's being loaded".

Image

In my test, this image IMG_0157_20250211.zip took ~1s to load (it's larger) and these ones temp2.zip loaded almost immediately. This result may be subjective and depends on the hardware. I also noticed that you're using Windows 11 24H2, this version of Windows is well-known of being slower; machines with Intel Arc GPU also has some sort of media loading issue.

@sdugoten
Copy link
Author

sdugoten commented Mar 23, 2025

I am using three difference image viewer to test, Imageglass, Pictureflect Photoviewer, and Irfanview to open the same file IMG_0157_20250211.zip

ImageGlass is significantly slower than the other 2 on loading the same picture. The other 2 image viewer is almost instant. Since I work on these large photo pretty often, (I use Lightroom to export DSLR raw file to JPG and PNG file) it can be a deal breaker for me. I wonder if there is any optimization can be done? If not, I might need to switch back to other image viewer. I should have tested these before I bought....

@sdugoten
Copy link
Author

sdugoten commented Mar 23, 2025

I use stopwatch to time how fast the app is opening IMG_0157_20250211.zip

On windows 11 24H2 x64 (AMD 3950X - 32cores , 64GB ram, RTX 4090). This workstation I used for image editing and large photo exporting from Canon CR3 raw file (50Mb+).

Irfanview 4.67 - 0.93s
Nomacs 3.21 beta - 1.24s
Pictureflect Photo Viewer 3.10.2 Pro - 1.31s
ImageGlass 9.2.1.202 Store ver - 3.28s

All these testing are run on the same computer opening the same picture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants