This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

creating image from 1D pixel array

praveen livingstone

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.
I agree. Here's the link:
subject: creating image from 1D pixel array
It's not a secret anymore!