i need a bit of help with few lines of code.
1. i have integer array a[500,500] = numbers from 1 to 256
2. i have to create a 256 colours bitmap of 500x500 pixels, asign colours as
matrix a.
ex. bitmap at pixel at coordinates row 3 col 5 = colour number is a[3,5]
and save it to disk as a 256 colour bitmap without any compresion as c:\a.bmp.
no interface.
i have microsoft visual c# 2008 express edition.
help? thank you.
1. i have integer array a[500,500] = numbers from 1 to 256
2. i have to create a 256 colours bitmap of 500x500 pixels, asign colours as
matrix a.
ex. bitmap at pixel at coordinates row 3 col 5 = colour number is a[3,5]
and save it to disk as a 256 colour bitmap without any compresion as c:\a.bmp.
no interface.
i have microsoft visual c# 2008 express edition.
help? thank you.
Comment