VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Loading a paletted bitmap

Jeffrey Katz  (4 Submissions)   Graphics   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Demonstrates reading a bitmap's header in binary to determine the bit depth (amount of colors) and the palette information. Useful for beginners who want to work with paletted bitmaps, or anyone interested in binary files.

Inputs
A 16 or 256 color bitmap.

Assumes
How to type ;)

Returns
The size, bit depth, and palette information of the inputted bitmap.

Side Effects
Palette window only redraws on mouseover.

Rate Loading a paletted bitmap (2(2 Vote))

Download Loading a paletted bitmap

Loading a paletted bitmap Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters