![]() |
|
#51
|
|||
|
|||
Re: How to get the pixels' value of a bmp image? (Pelles C)Hi Dave...
I have a few concern. 1)For the 24bit bitmap, the databuff is of 3-arrays while it is a double array for the 8-bit. why it so? 2) Quote:
IN the loop, why was the color table iterated till 256. Quote:
In 24-bit bitmap, will there not be a color table. Pls resolve my doubt, Dave Cheers |
|||
|
#52
|
||||
|
||||
Re: How to get the pixels' value of a bmp image? (Pelles C)Quote:
Quote:
If g, b, r and grayvalue are all unsigned chars, then the same result could be obtained with CPP / C++ / C Code:
or some such thing. Quote:
Quote:
Regards, Dave |
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about locking surfaces to directly access pixels, SDL. | george89 | C++ Forum | 0 | 18-Jun-2006 22:16 |
| Pixels | dan_ielle20 | C++ Forum | 0 | 23-Mar-2005 09:54 |
| Checking source codes of image, audio and video files | onauc | C Programming Language | 5 | 26-Feb-2005 22:47 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The