Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating image from 1D pixel array

 
praveen livingstone
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic