PDA

View Full Version : plz help me


mash potatoes
05-02-2003, 01:27 AM
Hi >>>
Plz could u help me??
I need to know the name of a function that could read a bitmap file pixel by pixel and how does it work(in c++ language)
Plz send the answer as fast as u can(& try to explain in a simple english)

mash potatoes
05-02-2003, 01:41 PM
i really have 2 cry >>> no 1 can help me??


plz reply an answer..
:confused: :confused: :confused:

Roy Sinclair
05-02-2003, 04:32 PM
No one can give you any help because your question is vague. Read the "Posting Guidelines: Read this before you post" link, it's not just for decoration on these pages because it'll guide you in how to make a post that'll properly define your question.

mash potatoes
05-02-2003, 06:38 PM
am sorry and i'll try to make what u told me

draconis
05-08-2003, 05:39 PM
i don't know the actual method, but here's some help:

at the top of the file, there is a header for the file, (only in 2,16 and 256 color bmps. In 16 bit, the data for the points are the color.) also the bitmap is loaded from bottom to top, left to right (i think.)

BloodXero
05-09-2003, 04:38 PM
go here:

http://www.wotsit.org/

its got info on a crap load of file formats. dont know what its missed but its got some stuff on bitmaps that would help. you basically just use the standard c++ fstream functions to do it you just have to know the order and where in the file to read to find everything you need.

mash potatoes
05-09-2003, 04:50 PM
BloodXero, draconis thanx alot 4 ur help:) :)

BloodXero
05-09-2003, 04:52 PM
np man. the first time i saw the wotsit place i was amazed at how much i was missing. i went right to it.

draconis
05-14-2003, 04:33 PM
Say, mash potatoes, check out: 'x2ftp.oulu.fi' under '/pub/msdos/programming/formats' inside the zip file 'BMP.ZIP'. This sheds light on how the internal workings of BMP files.