VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Loading a paletted bitmap

by Jeffrey Katz (4 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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 ;)
Code 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

Download Loading a paletted bitmap

Download Loading a paletted bitmap (3 KB)

Loading a paletted bitmap Comments

No comments have been posted about Loading a paletted bitmap. Why not be the first to post a comment about Loading a paletted bitmap.

Post your comment

Subject:
Message:
0/1000 characters