Click here to Skip to main content
15,914,943 members

Comments by NypStu (Top 4 by date)

NypStu 23-Jul-12 12:24pm View    
hi nv3,thanks for your help, im currently working on this code. it is able to work. just that it dosent run over row 9.whenever i set row 10 and above i will get the errors.
this is how i call the function after dynamically allocate int_array[1000][1536];
bool result = intarray2bmp::intarray2bmp( "foo.bmp", &(array_ptr[0][0]), 1000, 1536, 0, 9 );

NypStu 23-Jul-12 12:20pm View    
Hi Stefan, thank you for your suggestion, i will continue to look out for a different source but in the mean time this is the closest to what i can get right now. the program only have problem once i set the rows to 11~ which inside a loop is 10. it is only able to run till maximum 9.
NypStu 23-Jul-12 11:57am View    
Hi enhzflep, Thank you for your help again, my objective is to get 1536 col x 1000 rows. i do need the bitmap file to do further analysing. my supervisor gave me this bitmap header and ask me to try and convert the int to a bitmap. i do also searched for other bitmap header files or any 3rd party software and this is probaly the closest to what i need to acomplish to do further enhancement. i do feel like i should learnt to write a bitmap files but he said given the time needed with my skills right now would takes another fews weeks which we can't afford to lose right now. so im still trying my best to see if i can edit anything out of this header file to get out the images in bitmap format.
NypStu 4-Jul-12 1:41am View    
Hi enhzflep, thanks for your help , i just realised that i have declared 1536 columns X 1000 row of int. i think it would be impossible to export all the value into the excel file. however is it possible to export it into a notepad or any other software which will be able to keep and store such a large amount of int?
Thanks