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

|
|
Hello Koldo and Jibe
I have resolved the issue.
This is the original structure in bmphdr.h
struct BMP_FILEHEADER {
word bfType;
dword bfSize;
word bfReserved1;
word bfReserved2;
dword bfOffBits;
sizeof(BMP_FILEHEADER) shows 16!!!
So, I made the following change
Now, I get sizeof(BMP_FILEHEADER) as 14 which is the expected value
With this change, BMP files are being displayed in Controls4U_Demo. Can some of you experts please check what's causing this behaviour??
Regards
Jerson
[Updated on: Fri, 12 September 2014 15:34] 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 18:58:07 CEST 2025
Total time taken to generate the page: 0.04000 seconds
|