Independent thumbnail background color for Dark mode.

Features wanted...
admin
Site Admin
Posts: 66096
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Independent thumbnail background color for Dark mode.

Post by admin »

Are you using the thumbnails cache? You might need to refresh the thumbnails then.

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: Independent thumbnail background color for Dark mode.

Post by Display »

Yep! I'm refreshing the thumbnail cache each time a setting is changed. Just tried clearing the ini/dbits files to make double sure!
I've also tried Thumbs64Skip=1 to see if using MysticThumbs' x86 thumbnail handler would make a difference but it doesn't. XY handles the different styles fine (opaque/checkerboards) but doesn't like the transparency.

I mentioned this to the MysticThumbs dev and he responded with this:
"[XYplorer] may be treating the returned HBITMAP as a 24 bit image perhaps… Definitely talk with them and get them to check that. If it works no matter what using the MysticThumbs checkerboard or opaque or canvas setting then its because those all have no transparency / fully opaque alpha. All bitmaps returned from MysticThumbs are however 32 bit due to some versions of Windows not handling 24 bit ones correctly."

When Affinity Suite 2 introduced thumbnail support, I noticed the transparency in XY as black too. And SVGTextEditor has always displayed transparency as white in XY.

admin
Site Admin
Posts: 66096
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Independent thumbnail background color for Dark mode.

Post by admin »

Oh, sorry, I did not even look at your file types. Transparency in thumbnails is supported only for .gif.png.wmf.emf.ico.cur.

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: Independent thumbnail background color for Dark mode.

Post by Display »

admin wrote: 23 Feb 2023 09:27 Oh, sorry, I did not even look at your file types. Transparency in thumbnails is supported only for .gif.png.wmf.emf.ico.cur.
Nooo! Why the limit on file types? :D
Do you think perhaps more file types will be included in the future?
-
Hm. I guess I could make everything with an alpha into a checkerboard (and I'll try to match XY/MysticThumbs as closesly as possible):
230223_XYplorer_checkerboard.png
-
Or setting XY to 'Neutral' and MysticThumbs to 'Canvas' colour grey and just live with Explorer having weird opaque looking thumbs... which is fine I guess since I don't use it much anymore :whistle:
230223_XYplorer_vs_Explorer_mismatch.png
You do not have the required permissions to view the files attached to this post.

admin
Site Admin
Posts: 66096
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Independent thumbnail background color for Dark mode.

Post by admin »

Where does this checkerboard shot come from? A mockup?

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: Independent thumbnail background color for Dark mode.

Post by Display »

admin wrote: 23 Feb 2023 14:30 Where does this checkerboard shot come from? A mockup?
The pngs are using XY's 'Grid' setting (with two dark tones for the checkers) and the other thumbnails are using MysticThumbs' 'Dark Checkerboard' option:
230223_7255b.png
You do not have the required permissions to view the files attached to this post.

admin
Site Admin
Posts: 66096
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Independent thumbnail background color for Dark mode.

Post by admin »

WAV files with a thumbnail? Is that shot from XY? Are these injected thumbs?

Display
Posts: 79
Joined: 21 Apr 2015 11:20
Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500

Re: Independent thumbnail background color for Dark mode.

Post by Display »

Yea, MysticThumbs provides a thumbnail handler for tons of formats and they get stored in the Windows thumbnail cache like normal. XY generates the thumbnails with whatever options were set in the MysticThumbs control panel.

I had to add ThumbsExtraExtensions=.wav to get the waveforms to show (and the audio preview in XY still works!)

I'm also using Icaros Thumbnailer to bulk generate thumbnails to the Windows cache (it create its own database because Windows cache tends to delete itself if it gets too large).
To take advantage of the Windows cache I'm using PreviewEarlyFactory=1 so XY loads them instantly and then XY writes that to its own database cache. So yea, using 3 thumbnail caches of duplicated data :oops:
But its worth it!

Edit: Actually, when I use XnViewMP it uses its own database too ,'/
You guys should all get together and create a singular opensource thumbnail database format :appl:

Post Reply