Results 1 to 2 of 2

Thread: Image Display

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    England
    Posts
    94

    Image Display

    Hey guys i am writing a quick bit of software for my electronics that converts a bitmap to pure binary ie puts the first line at the begginning and removes the bitmap header. I wanted to display this datd again in the software so i could check the image being stored but i can't seem to find a control that lets me to turn a pixel on or off or has a grid where i can make each cell balck or white.

    Basically what i need to do is have a grid of 256x256 where i can control each pixel to be white or black so on or off.

    Cheers
    Peter
    "Let's all join forces, rule with an iron hand...and prove to all the world, metal rules the land..."
    -- Judas Priest

    My email is [email protected]

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Where's the problem? Create a child window that has no frame and is exactly 255x255 big. Then use the SetPixel API call.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width