Thumbnails of some filetypes show in Windows Explorer but XYplorer

Things you’d like to miss in the future...
Ampere
Posts: 25
Joined: 21 Aug 2022 06:04

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Ampere »

Thanks Horst!!
That app really solved the Thumbails HEIC issue!! :appl: :appl: :appl: :tup:

Horst
Posts: 1303
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Horst »

There is one point for Don.

Normaly in Windows 10 or 11 its enough to install the "HEIF Image Extensions" from the Microsoft store.
This allows preview and thumbnails of .heic and .heif files in Explorer and my other file managers.

In XY the preview of .heic works, also MDBU and hover.
Thumbnails are only created for .heif files.
The preview or MDBU for .heif says "Cannot decode"
Windows 11 Home, Version 24H2 (OS Build 26100.4946)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1396a (x64), Everything Toolbar 2.0.3, Listary Pro 6.3.5.93

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

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by admin »

In the next beta do this:

Code: Select all

previewcheck; //check the currently focused file
It should shed some light on the mysteries.
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

Display
Posts: 77
Joined: 21 Apr 2015 11:20

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Display »

Gave it a try and here's the results when selecting a .CLIP file using my current ini configuration:

Code: Select all

Preview Check: C:\_DATA\_Sketchbook\page0009.clip

+ n - preview loaded in 10.2 ms
+ p - preview loaded in 217.0 ms
+ p32 - preview loaded in 295.4 ms
+ p64 - preview loaded in 231.8 ms
+ t - preview loaded in 14.9 ms
+ tf32 - preview loaded in 10.4 ms
+ tf64 - preview loaded in 269.8 ms
- te32 - preview failed in 9.0 ms
- tg32 - preview failed in 2.4 ms

--------------------------------------------------------------------------------

Tweak PreviewEarlyFactory = 1

Document Files = .afdesign.afpub.ai.cdr.cgm.rtf.doc.dot.docm.docx.dotx.xls.xlt.xlsm.xlsx.xltx.ppt.pot.pps.pptx.potx.ppsx.wpd.wpf.odt.ods.odp.one.pdf.eps.ps.jtx.xps.oxps.dwg.dwf.dwfx.dxf.easmx.edrwx.eprtx.sldprt.sldasm.slddrw.prt.asm.drw.eml.msg.nws.skp.layout.epub.mobi.3mf.fbx.fs. - except: .

Preview as Thumbnail = .afdesign.afphoto.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.fs.prt.asm.drw.webp.ai.clip. - except: .

Thumbs64Ext = .3ds.max.obj.ai.eps.svg.abr.afdesign.afphoto.afpub.bkd.blend.cbr.cbz.reb.ptg.pss.leo.kra.clip.
And here's the results with a blank/default configuration:

Code: Select all

Preview Check: C:\_DATA\_Sketchbook\page0009.clip

+ n - preview loaded in 12.8 ms
+ p - preview loaded in 16.2 ms
+ p32 - preview loaded in 36.8 ms
+ p64 - preview loaded in 229.6 ms
+ t - preview loaded in 17.2 ms
+ tf32 - preview loaded in 12.6 ms
+ tf64 - preview loaded in 271.7 ms
- te32 - preview failed in 16.7 ms
- tg32 - preview failed in 1.5 ms

--------------------------------------------------------------------------------

Tweak PreviewEarlyFactory = 0

Document Files = .afdesign.afpub.ai.cdr.cgm.rtf.doc.dot.docm.docx.dotx.xls.xlt.xlsm.xlsx.xltx.ppt.pot.pps.pptx.potx.ppsx.wpd.wpf.odt.ods.odp.one.pdf.eps.ps.jtx.xps.oxps.dwg.dwf.dwfx.dxf.easmx.edrwx.eprtx.sldprt.sldasm.slddrw.prt.asm.drw.eml.msg.nws.skp.layout.epub.mobi.3mf.fbx.fs. - except: 

Preview as Thumbnail = .afdesign.afphoto.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.fs.prt.asm.drw.webp. - except: 

Thumbs64Ext = afdesign.afphoto.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.fs.ai.eps.svg

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

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by admin »

p32 and tf32 seem to work well and fast. Which has the better quality? Compare the results visually:

Code: Select all

preview "C:\_DATA\_Sketchbook\page0009.clip", p32;  //PreviewHandler (32-bit)

Code: Select all

preview "C:\_DATA\_Sketchbook\page0009.clip", tf32; //ThumbnailProvider IShellItemImageFactory (32-bit)
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

Display
Posts: 77
Joined: 21 Apr 2015 11:20

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Display »

They both appear to be the same high quality (1000x1000 px)
ThumbnailProvider IShellItemImageFactory (32-bit) seems to be 100% size.
PreviewHandler (32-bit) appears to be 99% size with a canvas outline border and fills the background with white instead of XY's theme.

Here's a downsampled comparison of what's happening
230418_PureRef_42a47.png
230418_PureRef_42a47.png (209.22 KiB) Viewed 2588 times
So I guess tf32 is better!

Horst
Posts: 1303
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Horst »

Some changes in the new beta :)
.heic files are now ok with Preview, Hover and MDBU

.heif files only the Hover works.
Preview says Cannot decode but sometimes after a long time it displays a preview.
MDBU does nothing

previewcheck; //check the currently focused file
Says the following for a .heif file

Code: Select all

Preview Check: C:\Temp\Test2\Muster\heif  ( picosmos ).heif

+ n - preview loaded in 1,25 secs
+ p - preview loaded in 94,4 ms
+ p32 - preview loaded in 1,1 ms
+ p64 - preview loaded in 83,7 ms
- t - preview failed in 1,28 secs
+ tf32 - preview loaded in 1,42 secs
+ tf64 - preview loaded in 8,63 secs
- te32 - preview failed in 1,30 secs
- tg32 - preview failed in 585,7 ms

--------------------------------------------------------------------------------

Tweak PreviewEarlyFactory = 3

Document Files = .afdesign.afpub.ai.cdr.cgm.rtf.doc.dot.docm.docx.dotx.xls.xlt.xlsm.xlsx.xltx.ppt.pot.pps.pptx.potx.ppsx.wpd.wpf.odt.ods.odp.one.pdf.eps.ps.jtx.xps.oxps.dwg.dwf.dwfx.dxf.easmx.edrwx.eprtx.sldprt.sldasm.slddrw.prt.asm.drw.eml.msg.nws.skp.layout.epub.mobi.3mf.fbx.fs. - except: .

Preview as Thumbnail = .afdesign.afphoto.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.fs.prt.asm.drw.webp. - except: .

Thumbs64Ext = afphoto.afdesign.afpub.sldasm.slddrw.sldprt.skp.layout


Windows 11 Home, Version 24H2 (OS Build 26100.4946)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1396a (x64), Everything Toolbar 2.0.3, Listary Pro 6.3.5.93

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

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by admin »

Either add heif to Document Files, then p32 will do the job.
Or set PreviewEarlyFactory to anything but 3, then tf32 will do it.
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

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

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by admin »

Display wrote: 18 Apr 2023 15:37 They both appear to be the same high quality (1000x1000 px)
ThumbnailProvider IShellItemImageFactory (32-bit) seems to be 100% size.
PreviewHandler (32-bit) appears to be 99% size with a canvas outline border and fills the background with white instead of XY's theme.

Here's a downsampled comparison of what's happening
230418_PureRef_42a47.png

So I guess tf32 is better!
Are you sure that CLIP files get no thumbnails with a fresh instance?
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

Horst
Posts: 1303
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Horst »

admin wrote: 18 Apr 2023 18:05 Either add heif to Document Files, then p32 will do the job.
Or set PreviewEarlyFactory to anything but 3, then tf32 will do it.
I now set PreviewEarlyFactory=1
.heic and .heif hover, preview and MDBU work.

There is one problem left, no thumbnails for .heic files.
.heif thumbnails are fine.

I only have the MS HEIF Image Extensions installed.
Previously using the 3rd party CopyTransHEICforWindows tool all was ok in XY.
But I would like to stay with the HEIF Image Extensions as Explorer and other tools
are fine, making preview and thumbnails for both extensions.
Windows 11 Home, Version 24H2 (OS Build 26100.4946)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1396a (x64), Everything Toolbar 2.0.3, Listary Pro 6.3.5.93

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

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by admin »

Horst wrote: 18 Apr 2023 18:32 There is one problem left, no thumbnails for .heic files.
.heif thumbnails are fine.
Assuming that you configured all settings for heic and heif identically, this is weird. Both formats get identical results from previewcheck;?
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.

jupe
Posts: 3290
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by jupe »

You need to run this once for heic thumbnails, extlist("thumbs64", "heic", "a"); it isn't required for heif

Horst
Posts: 1303
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Horst »

Here the .heic

Code: Select all

Preview Check: C:\Temp\Test2\Muster\Example02.heic

+ n - preview loaded in 60,3 ms
+ p - preview loaded in 101,1 ms
+ p32 - preview loaded in 2,0 ms
+ p64 - preview loaded in 82,9 ms
+ t - preview loaded in 64,0 ms
+ tf32 - preview loaded in 61,8 ms
+ tf64 - preview loaded in 375,4 ms
+ te32 - preview loaded in 546,3 ms
- tg32 - preview failed in 33,7 ms

--------------------------------------------------------------------------------

Tweak PreviewEarlyFactory = 1

Document Files = .afdesign.afpub.ai.cdr.cgm.rtf.doc.dot.docm.docx.dotx.xls.xlt.xlsm.xlsx.xltx.ppt.pot.pps.pptx.potx.ppsx.wpd.wpf.odt.ods.odp.one.pdf.eps.ps.jtx.xps.oxps.dwg.dwf.dwfx.dxf.easmx.edrwx.eprtx.sldprt.sldasm.slddrw.prt.asm.drw.eml.msg.nws.skp.layout.epub.mobi.3mf.fbx.fs. - except: .

Preview as Thumbnail = .afdesign.afphoto.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.fs.prt.asm.drw.webp. - except: .

Thumbs64Ext = afphoto.afdesign.afpub.sldasm.slddrw.sldprt.skp.layout
And here the .heif which displays the preview for some time, then displays Canot decode

Code: Select all

Preview Check: C:\Temp\Test2\Muster\heif  ( picosmos ).heif

+ n - preview loaded in 1,46 secs
+ p - preview loaded in 79,2 ms
+ p32 - preview loaded in 1,1 ms
+ p64 - preview loaded in 85,1 ms
+ t - preview loaded in 1,47 secs
+ tf32 - preview loaded in 1,41 secs
+ tf64 - preview loaded in 8,83 secs
- te32 - preview failed in 1,24 secs
- tg32 - preview failed in 593,7 ms

--------------------------------------------------------------------------------

Tweak PreviewEarlyFactory = 1

Document Files = .afdesign.afpub.ai.cdr.cgm.rtf.doc.dot.docm.docx.dotx.xls.xlt.xlsm.xlsx.xltx.ppt.pot.pps.pptx.potx.ppsx.wpd.wpf.odt.ods.odp.one.pdf.eps.ps.jtx.xps.oxps.dwg.dwf.dwfx.dxf.easmx.edrwx.eprtx.sldprt.sldasm.slddrw.prt.asm.drw.eml.msg.nws.skp.layout.epub.mobi.3mf.fbx.fs. - except: .

Preview as Thumbnail = .afdesign.afphoto.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.fs.prt.asm.drw.webp. - except: .

Thumbs64Ext = afphoto.afdesign.afpub.sldasm.slddrw.sldprt.skp.layout
Windows 11 Home, Version 24H2 (OS Build 26100.4946)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1396a (x64), Everything Toolbar 2.0.3, Listary Pro 6.3.5.93

Horst
Posts: 1303
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by Horst »

jupe wrote: 18 Apr 2023 19:55 You need to run this once for heic thumbnails, extlist("thumbs64", "heic", "a"); it isn't required for heif
This doesn't change anything, still no thumbnails for .heic
Windows 11 Home, Version 24H2 (OS Build 26100.4946)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1396a (x64), Everything Toolbar 2.0.3, Listary Pro 6.3.5.93

jupe
Posts: 3290
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Post by jupe »

Works for me, using the same setup.

edit: Actually, you didn't mention installing the HEVC decoder from the MS Store in addition to the HEIF image extensions, that is also a requirement for heic, and could be why it works for me.

Post Reply