|
-
Nov 22nd, 2007, 05:09 PM
#1
Thread Starter
Fanatic Member
[2005] Create a Image having a image data in a byte array
Hi!!
I have a byte array containing pixel information, there are 3 bytes for each pixel
(Red, Green , Blue). And I want to create a image with that byte array.
I already have a code that does that but is extremely slow, only after about 5 secs he shows the image and the image is only 300x300 pixels. The code loops throw the image height and then throw the image width and sets the pixel color using the values in the array.
But i think that there is a simplest and much more faster way to do that. Is there?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|