Lister bitmap-viewer config

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Lister bitmap-viewer config

Post by *Sam_Zen »

During the testing of this thread about showing a crappy
JPEG file with Lister, I noticed that the presence of a graphic plugin like Imagine, overrules the option :
"Use XnView/IrfanView to load graphics other than BMP" if enabled.

This seems quite logical, but it shows that in fact this "..other than BMP" -option is neutralized.
So why not grey out this option, as soon as there is a graphical plugin present ?
0.618033988
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Well, the plugin could support let's say 5 formats. The others are (or should be) still viewed with the viewer entered there.

Maybe it should be extended to "...other than BMP and installed plugins"? The help is talking about "...other than BMP" only, too.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Sam_Zen wrote:So why not grey out this option, as soon as there is a graphical plugin present ?
1. How do you think to detect if the plugin is a graphical one?
2. How to ensure that the plugin overrides really all the image types supported by IV/XV?
3. The plugins do not always take precedence over the internal Lister mechanisms (detect-string should contain MULTIMEDIA for that, if I'm not mistaken).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, indeed the string MULTIMEDIA gives plugins precedence over Irfanview.
Author of Total Commander
https://www.ghisler.com
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Reverse

Post by *Clo »

2ghisler(Author)

:) Good evening,

• I have tested the sample too, and indeed got the same issues…
Yes, indeed the string MULTIMEDIA gives plugins precedence over Irfanview.
• Irfan¦XnView are certainly much more performant¦perfected than the most image-plugins…
- So, could that precedence be inverted, even optionally later ?

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, you can of course edit the define lines for these plugins in wincmd.ini. Example:

Old:

Code: Select all

27_detect="MULTIMEDIA & (EXT="JPG" | EXT="JPEG" | EXT="JIF" | EXT="JFIF" | EXT="J" | EXT="JPE" | EXT="TGA" | EXT="TARGA" | EXT="PIX" | EXT="BPX" | EXT="IVB" | EXT="TIF" | EXT="TIM" | EXT="TIFF" | EXT="BMP" |EXT="RLE" | EXT="VGA" | EXT="RL4" | EXT="RL8" | EXT="SYS" | EXT="PNG" | EXT="IFF" | EXT="BLK" | EXT="GIF" | EXT="GIFF" | EXT="PCX" | EXT="PCC" | EXT="DCX" | EXT="PIC" | EXT="PICT" | EXT="PICT2" | EXT="PCT" | EXT="PSD" | EXT="PBM" | EXT="RPBM" | EXT="PPMA" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="PNM" | EXT="RPNM" | EXT="PBM" | EXT="RPBM" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="XBM" | EXT="BM" | EXT="XPM" | EXT="PM" | EXT="EPI")"
New:

Code: Select all

27_detect="EXT="JPG" | EXT="JPEG" | EXT="JIF" | EXT="JFIF" | EXT="J" | EXT="JPE" | EXT="TGA" | EXT="TARGA" | EXT="PIX" | EXT="BPX" | EXT="IVB" | EXT="TIF" | EXT="TIM" | EXT="TIFF" | EXT="BMP" |EXT="RLE" | EXT="VGA" | EXT="RL4" | EXT="RL8" | EXT="SYS" | EXT="PNG" | EXT="IFF" | EXT="BLK" | EXT="GIF" | EXT="GIFF" | EXT="PCX" | EXT="PCC" | EXT="DCX" | EXT="PIC" | EXT="PICT" | EXT="PICT2" | EXT="PCT" | EXT="PSD" | EXT="PBM" | EXT="RPBM" | EXT="PPMA" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="PNM" | EXT="RPNM" | EXT="PBM" | EXT="RPBM" | EXT="PGM" | EXT="RPGM" | EXT="PPM" | EXT="RPPM" | EXT="XBM" | EXT="BM" | EXT="XPM" | EXT="PM" | EXT="EPI""
You can also leave out extensions which you never want to handle with this plugin.
Author of Total Commander
https://www.ghisler.com
Post Reply