Page 1 of 1

Compressed icon support in viewer.

Posted: 10.12.2022, 21:32
by H.Seldon
When viewing Windows icons with png compression using internal viewer, I get 'Loading error... File format is not supported.'
Could support for these be included for internal viewer?
I currently use ICLViewer plugin to view icons, but I much prefer FC's internal one.
Thanks!

FC version 880
Windows 10 x64

Re: Compressed icon support in viewer.

Posted: 11.12.2022, 12:36
by Marek
Could you send me such icon or a link to such icon?

Re: Compressed icon support in viewer.

Posted: 11.12.2022, 20:07
by H.Seldon
https://iconarchive.com/download/i44089 ... Folder.ico

Since Windows Vista Microsoft has used png compression for icon sizes 256 or greater. So, this format is very common.
Viewing with ICLView plugin from Total Commander, the 256 x 256 size is shown as compressed.
If I save as non-compressed using IcoFX or Gimp, it views without error.

This is not a deal breaker, as I can still use ICLView plugin, but the internal plugin is so much better.

Re: Compressed icon support in viewer.

Posted: 11.12.2022, 21:16
by Dreamer
It works good here, 880 64-bit, also with default settings, Windows 10 21H1 64-bit.
Screenshot_12112022_211413.png

Re: Compressed icon support in viewer.

Posted: 11.12.2022, 22:04
by horst.epp
Works fine here to with default settings.

Re: Compressed icon support in viewer.

Posted: 11.12.2022, 22:33
by Marek
For me it does not worked.
I noticed that two dll's were too old.
I took newer versions and now the display works correctly.
The file "FreeCommanderXE-64-donor_portable880" is now reloaded - only the two dlls (ie*.dll) have been exchanged.

Re: Compressed icon support in viewer.

Posted: 11.12.2022, 23:24
by Dreamer
Hm.. Why it was working for me and horst.epp? Perhaps the install and portable versions had different dll files?
Marek wrote: 11.12.2022, 22:33The file "FreeCommanderXE-64-donor_portable880" is now reloaded - only the two dlls (ie*.dll) have been exchanged.
EDIT: So the portable version was broken? But I'm using portable version all the time, strange.

Re: Compressed icon support in viewer.

Posted: 12.12.2022, 02:59
by H.Seldon
Awesome Marek! Thanks!

Re: Compressed icon support in viewer.

Posted: 12.12.2022, 14:53
by horst.epp
Dreamer wrote: 11.12.2022, 23:24 Hm.. Why it was working for me and horst.epp? Perhaps the install and portable versions had different dll files?
Marek wrote: 11.12.2022, 22:33The file "FreeCommanderXE-64-donor_portable880" is now reloaded - only the two dlls (ie*.dll) have been exchanged.
EDIT: So the portable version was broken? But I'm using portable version all the time, strange.
Strange, the same for me.
I only use the portable version all the time.
This 2 DLLs are in no other path on my PC.

Re: Compressed icon support in viewer.

Posted: 12.12.2022, 19:14
by H.Seldon
It is strange. I was prerviously running version 875 portable and it had the same issue.

My Windows 10 version is 21H2, Build 19044.2251

Edit:
FC version 875 used ielib64.dll version 6.0.3.0
FC version 880 now uses ielib64.dll version 6.0.4.0

Re: Compressed icon support in viewer.

Posted: 12.12.2022, 20:53
by Marek
It is strange. I was previously running version 875 portable and it had the same issue.
It is correct. The 875 is the first release designed to work with new DLLs.
It was my fault that I didn't exchange the dll's.

Re: Compressed icon support in viewer.

Posted: 12.12.2022, 21:49
by H.Seldon
Thanks Marek. I was just trying to figure out why Dreamer and horst.ep did not have the same issue.