Hi all.
What is the maximum length for IViewAdditionalTypes parameter?
I was wondering why some of my files have no thumbnails lately and discovered, that displaying them depends on extensions placement under IViewAdditionalTypes.
XnView supports about 400 graphic file formats but due to mentioned limit adding all extensions is not wise. That is why I'd like to know how much of them I can write down without troubles.
IViewAdditionalTypes length limit
Moderators: Hacker, petermad, Stefan2, white
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
IViewAdditionalTypes length limit
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It's 259 characters. Do you really use all these 400 types? If not, just leave out some of them...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
43 is not huge
2ghisler(Author)
Good evening,
• Considering that each added extension needs 6 characters (including the space as separator),
this limit of 259 allows only to add 43 extensions.
- Indeed, it's sufficient for the most average users -and myself- but can be an issue for those working with graphics,
collections of old games (many formats supported by XnView are so) and the like.
- Whether the extensions could be simply written without the “*.” part,
then we could place 64 extensions, that's already better.
- For instance, in XnView INI that's possible (no *. needed).
- Just my 0,05€…
VG
Claude
Clo

• Considering that each added extension needs 6 characters (including the space as separator),
this limit of 259 allows only to add 43 extensions.
- Indeed, it's sufficient for the most average users -and myself- but can be an issue for those working with graphics,
collections of old games (many formats supported by XnView are so) and the like.
- Whether the extensions could be simply written without the “*.” part,
then we could place 64 extensions, that's already better.
- For instance, in XnView INI that's possible (no *. needed).
- Just my 0,05€…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2ghisler(Author)
I don't use all of them but with this limit I can't just copy the list but I have to check it closely.
This is not the end of the world (as I know it) but it might be troublesome for other users. Also knowing that some formats can have similar but not the same extensions (ex. JPG and JPEG) it makes it harder to work with.
Could it be possible to add IViewAdditionalTypesX variable (where X is number from 1 to something) for extending it a little bit?
PS. Please write information about limit in help file.
I don't use all of them but with this limit I can't just copy the list but I have to check it closely.
This is not the end of the world (as I know it) but it might be troublesome for other users. Also knowing that some formats can have similar but not the same extensions (ex. JPG and JPEG) it makes it harder to work with.
Could it be possible to add IViewAdditionalTypesX variable (where X is number from 1 to something) for extending it a little bit?
PS. Please write information about limit in help file.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099