ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

ImageGlass too slow with big jpeg file. Maybe use embedded jpeg ?

Open Zeus64 opened this issue 3 years ago • 2 comments

ImageGlass is very slow to open with big jpeg file (2-3 seconds for 7952x5304 images), but often those files contain embedded jpeg with high resolution (example my 7952x5304 jpeg contain a preview jpg of 1616x1080 that is often bigger than the screen resolution) so it's could be good for imageGlass to use this embedded jpeg instead. If we use the embedded thumbnail then we can accelerate drastically by a factor of 10 the opening speed (if I compare with the raw of similar size who use embedded images)

This is similar to what ImageGlass do with Raw file

the options I imagine:

Use embedded thumbnail for raw images : yes/no Use embedded thumbnail for other images : yes/no ___ if a thumbnail have a min width of: xxx ___ if a thumbnail have a min height of: xxx

Zeus64 avatar Feb 22 '22 09:02 Zeus64

@d2phap I don't know the status of imageGlass 9.0 but as it's seem you redraw it from scratch if you could add this feature in it it's would be very great !

Zeus64 avatar May 16 '22 07:05 Zeus64

Thanks @Zeus64 I have plan to implement this in the next beta release

d2phap avatar May 16 '22 14:05 d2phap

This feature is implemented in ImageGlass Moon 9.0 beta 3!

  • You can use 2 settings: EmbeddedThumbnailMinWidth, EmbeddedThumbnailMinHeight to set the min size of the embedded thumbnails.
  • To use embedded thumbnail for RAW file: UseEmbeddedThumbnailOtherFormats
  • And other formats: UseEmbeddedThumbnailOtherFormats

d2phap avatar Dec 24 '22 07:12 d2phap