Thread: Retrieving Pixels

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    3

    Retrieving Pixels

    i'm a total n00b to c++, and i am working on a dll to extend a VB program. I want to pass a picturebox or its hdc to the c++ function, and have the function to return the array of pixels. i know how to use functions and arrays in c++ and all that, but i just need to know how to use pictureboxes/hdcs and get the pixels contained in them

  2. #2

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    3
    how to pass PictureBoxes/HDcs to a C++ DLL and get the pixels using C++ is what i want to know. in VB, GetPixel() is way too slow

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    3
    nm. figured it out. i forgot about GDI. thx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trying to write individual pixels to the screen
    By IanC in forum C++ Programming
    Replies: 3
    Last Post: 04-14-2004, 12:49 PM
  2. bitmap pixels???????????
    By SuperNewbie in forum Windows Programming
    Replies: 2
    Last Post: 03-23-2004, 01:53 AM
  3. creating image from pixels stored in file
    By Kristian25 in forum Windows Programming
    Replies: 3
    Last Post: 01-21-2003, 02:08 PM
  4. Algo needed for 'Fit to page'
    By Unregged in forum Windows Programming
    Replies: 6
    Last Post: 10-03-2002, 07:09 AM
  5. What Else can I do besides Plot Pixels?
    By Xterria in forum C++ Programming
    Replies: 13
    Last Post: 10-02-2001, 07:11 PM