hi!
I am working with bmp files for my project.I am having the pixel data (binary.. i.e;10001001001..)and i need to represent it as a .bmp file.I need to construct an image(.bmp) from this data using "C".can anybody tell me how to represent it as a .bmp file?I could read data from an existing .bmp file...but couldnt construct that type of file...I tried to add header to the data directly..but the constructed image is not the one which should be for the given data.should the input data be given in any other format..?ascii..?or any thing?cant we directly read the binary data from a text file as character and write it in a .bmp file after adding header?
hope somebody understands my problem and kindly gives me a reply...
thanks in advance!!