posted 15 years ago
hi guys
Can anyone write a code to convert an One-Dimensional pixel array into an image usint creatImage function?. need urgent for my project. the 1D array is like this int[] oneDPix = new int[imgCols * imgRows * 4];, where imgCols is 800 and imgRows is 600 (i.e) 800 x 600 image.