Re: [Dev-C++] Read an Image and convert it into 2D Array.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2007-12-22 18:57:28
|
Too little information given! If the image is in any known image format (GIF, JPEG, TIFF, PCX, BMP, ...) then you need to locate a graphics library that contains code to read that format. If the data is in a raw binary file or stored as ASCII, then you have to write your own code. There is no way anyone can help you, if you don't take your time and clearly specify your problem! /pwm On Sat, 22 Dec 2007, Benson Mwangi wrote: > Hello Everyone, > > Is anyone aware of how to read a greyscale image and convert it into a 2D > array of 256 by 256 in C++. > > I would appreciate your contribution on this. > > Kind regards > Benson. > |