phumzk 0 Newbie Poster

Hi

I have been searching for a way to write pixels into the canvas but can't seem to find a way.

I have this assignment to read an image(BMP,PGM) but have to do it from first principles as in read the header to get the type of image, then read in the pixels (need access to those pixels). I have stored my pixel data in an "unsigned char*" and the have structs to store headers.

I am then required to display that image (stream the pixels ). I am using Borland c++ and just want a way to stream the pixels (use anything).

Its urgent guys........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.