![]() |
|
#1
|
|||
|
|||
To write a small area of a BMP filehai,
I would like to know , how i can copy a small portion of a BMP file to another file? if i am having a BMP file of 640x240 size and i would like to copy a small portion that is a small 50 x 100 section into an another file. so that in the resulting output file contains only that small region. i have already copied the header of the older file to the new file, now how shoul d i move to get that particular area alone in the resulting image? regards.. Maxiiiiiiii |
|
#2
|
|||
|
|||
Re: to write a small area of a BMP filehai,
i would also like to know well that on reading a 24 bit BMP image, we r usually leaving 1st 1078 bytes as header and reading the data after that.. On searching the net i have found that there is no colour pallete or color table in 24 bit BMP, then how this 256x4 came along with the 52 bytes of header? to make it altogether 1078 bytes?. |
|
#3
|
||||
|
||||
Re: To write a small area of a BMP fileMaybe you should look into the format of a BMP file to understand what's going on. Try to Google for "BMP image format"
__________________
Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough. -- Pearl Williams |
Recent GIDBlog
Stupid Management Policies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 08:44 |
| CD Burner Help - Power Calibration Error.... | JonBoy420 | Computer Hardware Forum | 110 | 05-Feb-2008 19:34 |
| Download files in c for windows operating system | oozsakarya | C Programming Language | 5 | 20-Jun-2006 04:33 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 11:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 12:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The