aspose file tools*
The moose likes Beginning Java and the fly likes creating image from 1D pixel array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "creating image from 1D pixel array" Watch "creating image from 1D pixel array" New topic
Author

creating image from 1D pixel array

praveen livingstone
Greenhorn

Joined: Apr 13, 2008
Posts: 7
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.
 
 
subject: creating image from 1D pixel array