Home » Community » Newbie corner » StaticImage cannot show BMP file
Re: StaticImage cannot show BMP file [message #43609 is a reply to message #43608] |
Fri, 12 September 2014 15:05   |
jerson
Messages: 202 Registered: June 2010 Location: Bombay, India
|
Experienced Member |

|
|
Hello Jibe
I am using 7635, so, I am not too far out of date. Hopefully nothing has changed in the plugin. I wouldn't know how to confirm that though.
I have been trying to decode what is going wrong. In the file BMP.cpp(LoadBMPHeader()) I found something wrong.
The following directives gave me this
sizeof(BMP_INFOHEADER) = 40
AsString(header.biWidth) = 50266112
AsString(header.biHeight) = 65536
AsString(header.biPlanes) = 24 This should be bits per pixel (bitCount)
AsString(header.biBitCount) = 0 This is the cause of failure. Code exits here Valid values 1,4,8,16,24,32
AsString(header.biCompression) = 3032481792 This too is wrong
AsString(header.biSizeImage) = 33
Can someone more knowledgeable than me please check why this happens.
My suspicion is that something is going wrong with the BMP structures alignments.
Regards
Jerson
[Updated on: Fri, 12 September 2014 15:12] Report message to a moderator
|
|
|
 |
|
StaticImage cannot show BMP file
By: jerson on Wed, 10 September 2014 13:24
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Thu, 11 September 2014 08:53
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Thu, 11 September 2014 10:55
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Thu, 11 September 2014 11:10
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Thu, 11 September 2014 11:16
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Thu, 11 September 2014 11:51
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Thu, 11 September 2014 12:52
|
 |
|
Re: StaticImage cannot show BMP file
By: koldo on Fri, 12 September 2014 08:41
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 09:18
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 10:36
|
 |
|
Re: StaticImage cannot show BMP file
By: jibe on Fri, 12 September 2014 14:19
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 15:05
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Fri, 12 September 2014 15:33
|
 |
|
Re: StaticImage cannot show BMP file
By: hans on Sat, 13 September 2014 20:18
|
 |
|
Re: StaticImage cannot show BMP file
By: jerson on Sun, 14 September 2014 05:19
|
Goto Forum:
Current Time: Sun Aug 24 22:05:33 CEST 2025
Total time taken to generate the page: 0.05596 seconds
|