Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Bitmap Data

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
emanuela1111 Posted - Sep 17 2003 : 11:18:04 AM
I'd like to realize a VB program that extracts the pixel map from a two color bitmap picture and prints on screen the sequence: pixel coordinates-pixel colour.
I looked at the code of your program BMPINFO.exe found on this site, but I couldn't find the way to modify the GetPixelColour
function to get my purpose, can you Help me, Please?

I noticed that BMPINFO doesn't work properly if the input picture is a Monochrome Bitmap; using a 3X2 pixel Monochrome bitmap made using Paint (like the one I attached), the Colour Table shows the two colors
black and white, but the data table shows only black.

Thank you in advance
Bye
Emanuela
2   L A T E S T    R E P L I E S    (Newest First)
emanuela1111 Posted - Sep 30 2003 : 07:12:40 AM
Thank you very much :)
Bye

Eric Coleman Posted - Sep 22 2003 : 08:23:00 AM
aren't the bits packed into a byte? If you had a monochrome image 8 pixels wide, then the first byte contains all 8 bits to describe the pixels on that row, then it would be followed by 3 bytes to achieve a 32bit alignment.

VBGamer © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.