Page 1 of 1

Feature request: Preview png files as icon files do

Posted: 2019-09-25, 23:55 UTC
by pakosan
Please look at the image in the link as it demonstrates the current limitation of TotalCommander.

https://imgur.com/8AMu7f4

As you can see, the icon files show their content while the png do not.

Re: Feature request: Preview png files as icon files do

Posted: 2019-09-26, 06:08 UTC
by MVV
Currently there is no way or plugin interface for using custom icons for files in iconic modes, only in thumb mode, so I doubt that something will be changed here.

Perhaps it would be better for you to request an extension of current WDX or WCX plugin API to add support for extracting icons from files to be used in brief or full views... Currently only WFX interface supports icon extraction for remote files.
And I don't talk about just PNGs, it could affect any file format that have a corresponging plugin. But such feature would require proper configuring, like using internal associations.

Another way that you have is to install some kind of Windows shell extension that provides custom icons for PNG or other files, I believe such extensions exist.

Re: Feature request: Preview png files as icon files do

Posted: 2019-09-27, 06:47 UTC
by pakosan
MVV wrote: 2019-09-26, 06:08 UTC Currently there is no way or plugin interface for using custom icons for files in iconic modes, only in thumb mode, so I doubt that something will be changed here.

Perhaps it would be better for you to request an extension of current WDX or WCX plugin API to add support for extracting icons from files to be used in brief or full views... Currently only WFX interface supports icon extraction for remote files.
And I don't talk about just PNGs, it could affect any file format that have a corresponging plugin. But such feature would require proper configuring, like using internal associations.

Another way that you have is to install some kind of Windows shell extension that provides custom icons for PNG or other files, I believe such extensions exist.
Thanks for the reply.

I do use some of the workarounds you mentioned.

I am also aware that a plugin would not do. This is something that would likely have to be done to the main source code and be provided as an option.

Re: Feature request: Preview png files as icon files do

Posted: 2019-09-27, 09:10 UTC
by MVV
TC is not a monolithic program, it supports plugins that allow e.g. viewing multiple image formats, so it is definitely wrong idea to add support for specific image format to TC itself, it is more correct to extend plugin interface so users could install plugins for extracting icons for desired file formats.

Re: Feature request: Preview png files as icon files do

Posted: 2019-09-27, 22:51 UTC
by pakosan
MVV wrote: 2019-09-27, 09:10 UTC TC is not a monolithic program, it supports plugins that allow e.g. viewing multiple image formats, so it is definitely wrong idea to add support for specific image format to TC itself, it is more correct to extend plugin interface so users could install plugins for extracting icons for desired file formats.
True.

But TC supports such a feature for icon files without a need for a plugin.

My view of it is that icons files once were the only way to use, well, icons. Nowadays, I have entire directories of icons in png files that I use in various projects. I reckon I cannot be alone.

Re: Feature request: Preview png files as icon files do

Posted: 2019-09-28, 15:34 UTC
by MVV
But TC supports such a feature for icon files without a need for a plugin.
Only because ICO files have their own icons in all Windows versions. TC does nothing special for supporting ICO files.

Re: Feature request: Preview png files as icon files do

Posted: 2019-09-29, 00:53 UTC
by pakosan
MVV wrote: 2019-09-28, 15:34 UTC
But TC supports such a feature for icon files without a need for a plugin.
Only because ICO files have their own icons in all Windows versions. TC does nothing special for supporting ICO files.
Yes, that was my suspicion.

Re: Feature request: Preview png files as icon files do

Posted: 2019-10-11, 21:32 UTC
by VSB
The other way is creating Shell Extension IconHandler for png files

Re: Feature request: Preview png files as icon files do

Posted: 2019-10-21, 17:32 UTC
by jinsight
Second MVV's view.