[11.00] Can't view certain BMP files
Moderators: Hacker, petermad, Stefan2, white
Re: [11.00] Can't view certain BMP files
Except the PhotoViewer plugin
all other x64 configurations and image plugins display this bmp's correctly.
TC x86 without any additional settings like IrfanView doesn't work.
I guess not a real problem for most of us.
all other x64 configurations and image plugins display this bmp's correctly.
TC x86 without any additional settings like IrfanView doesn't work.
I guess not a real problem for most of us.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: [11.00] Can't view certain BMP files
2JOUBE
And yes - you don't need to look for anything else - the author quite accurately noted that now he will just have to work with a structure of a different size.
I'm sorry, but your answer does not fall at all into the topic of my explanation of the situation and your incorrect statement that the BitMap file signature is the first four bytes - BMHX. No - only the first two: BM. That's why I used the phrase "you'll be surprised"... Because this new info is slightly at odds with your current knowledge;) Well, for control, I prepared links for you, where you can see - WHAT takes the first two bytes of a file of this format.Not really, because, for example, a plugin that I'm very familiar with handles it quite correctly. So, searching for a reason...
And yes - you don't need to look for anything else - the author quite accurately noted that now he will just have to work with a structure of a different size.
#146217 personal license
Re: [11.00] Can't view certain BMP files
2Horst.Epp
I Agree. And it's especially true - when nearest new TC release will correctly handle such files )))I guess not a real problem for most of us.
#146217 personal license
Re: [11.00] Can't view certain BMP files
By the way: I just tested this issue by chance:
My standard image editing program is Paint Shop Pro version 4.12 from 28 Jan 1997. *)
When I try to open the "PIC_6.bmp" file with it, I get the following error message and the picture is not displayed: "This is not a valid BMP/DIB/RLE file."
Something has obviously changed in the specification of BMP files since then. (Perhaps as a note to ghisler(author)) Or other programs simply ignore the error in it. **)
Joube
*) Really my standard image editing program in many cases (I am not a graphic designer...)
**) As I said above: But a Plugin, I am familiar with, can handle e.g. "PIC_6.bmp" well.
My standard image editing program is Paint Shop Pro version 4.12 from 28 Jan 1997. *)
When I try to open the "PIC_6.bmp" file with it, I get the following error message and the picture is not displayed: "This is not a valid BMP/DIB/RLE file."
Something has obviously changed in the specification of BMP files since then. (Perhaps as a note to ghisler(author)) Or other programs simply ignore the error in it. **)
Joube
*) Really my standard image editing program in many cases (I am not a graphic designer...)
**) As I said above: But a Plugin, I am familiar with, can handle e.g. "PIC_6.bmp" well.
Re: [11.00] Can't view certain BMP files
Why use the 4.12 if I may ask? (I myself have been using the 5.03 the last 24 years)JOUBE wrote: 2023-08-17, 14:15 UTC My standard image editing program is Paint Shop Pro version 4.12 from 28 Jan 1997. *)
Hoecker sie sind raus!
Re: [11.00] Can't view certain BMP files
I'm a big fan of Paint Shop Pro and have tried versions 1.0 to 11.20 and some higher, while I've been sticking with 7.04 for long time which is really good especially for some vector edits that were missing in earlier versions.
I sometimes use 9.01 and 10.10 which support AVIF and WEBP (with plugins)
On Paint Shop Pro versions 1.0 - 10.10 and even Paint Shop 2 and 3, this error message looks exactly the same.
I sometimes use 9.01 and 10.10 which support AVIF and WEBP (with plugins)
On Paint Shop Pro versions 1.0 - 10.10 and even Paint Shop 2 and 3, this error message looks exactly the same.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [11.00] Can't view certain BMP files
Possible, but it's not mentioned in the description of the bitmapinfoheader structure I already linked in my first reply.Something has obviously changed in the specification of BMP files since then.
Maybe there were other developers who didn't read or understand the specifications and created such files with invalid header...Or other programs simply ignore the error in it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [11.00] Can't view certain BMP files
Tested OK using TC 11.01 rc1 32-bit.HISTORY.TXT wrote:15.08.23 Fixed: Support bitmaps which contain an invalid header size field (including the size of the color table) (32)
Re: [11.00] Can't view certain BMP files
Confirmed fixed in TC 11.01rc1 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [11.00] Can't view certain BMP files
Moderator message from: white » 2023-08-22, 08:27 UTC
Moved to Fixed bugs.
Re: [11.00] Can't view certain BMP files
Fixed? It wasn't a bug.


Re: [11.00] Can't view certain BMP files
2JOUBE
Well, the history says: "15.08.23 Fixed: ..." not Added
- maybe it should be changed to:
15.08.23 Added: Support bitmaps which contain an invalid header size field (including the size of the color table) (32)
Well, the history says: "15.08.23 Fixed: ..." not Added

15.08.23 Added: Support bitmaps which contain an invalid header size field (including the size of the color table) (32)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [11.00] Can't view certain BMP files
petermad wrote: 2023-08-22, 10:05 UTC 2JOUBE
Well, the history says: "15.08.23 Fixed: ..." not Added- maybe it should be changed to:
15.08.23 Added: Support bitmaps which contain an invalid header size field (including the size of the color table) (32)

- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [11.00] Can't view certain BMP files
Actually I changed it from Added to Fixed myself when gathering the changes for the announcement, because I thought that it was more like a correction than an addition...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [11.00] Can't view certain BMP files
Any way, it fixed the issue 
