File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating image from 1D pixel array