Thread: Accessing an image stored in an array.

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    21

    Accessing an image stored in an array.

    Hello,

    I am in the process of writing a data acquisition program in C++. In the process of gathering data I will receive a pointer to a 2D array containing image data. I'm assuming images are stored in memory in a standard way however, I've never dealt with something like this before. I need to be able to store the acquired images as, well, images. Once I have access to this image data how can I save it to a file it as a viewable image?

    Thanks

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    106
    Check out the CImg library. Use that. 1000% bulletproof.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 03-03-2005, 03:52 AM
  2. Replies: 2
    Last Post: 07-22-2004, 02:25 AM
  3. accessing array of structs values
    By WaterNut in forum C++ Programming
    Replies: 12
    Last Post: 07-08-2004, 08:47 PM
  4. Template Array Class
    By hpy_gilmore8 in forum C++ Programming
    Replies: 15
    Last Post: 04-11-2004, 11:15 PM
  5. Replies: 5
    Last Post: 11-20-2001, 12:48 PM