Thank you Per for your reply...
The image is in PGI (portable Greymap Image) and I am stuck in converting
the image to a 2D array inorder to do the various needed manipulations.
Kind Regards
Benson.
On 22/12/2007, Per Westermark <pw...@ia...> wrote:
>
> 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.
> >
>
>
|