Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Second question about bitmaps.

$
0
0

I am working on a bitmap enlarger program.  This is my second topic this week.  When I look at the bitmap structure on Wikipedia (https://en.wikipedia.org/wiki/BMP_file_format) it shows hex values such as : 46 00 00 00.  This represents that the size of the bmp being 70 bytes (offset 2h.)  This shows that the remaining three zeros are nothing but placeholders.  Now, what if I need to use a zero that actually changes a hex value, how would this be done?  I am writing it to a file. 

Thank you, 

Josheir


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>