The Daily Click ::. Forums ::. Klik Coding Help ::. Pixel by Pixel image creation

Post Reply  Post Oekaki 

Posted By Message


Possibly Insane

2nd April, 2006 at 16:49:30 -

I'm working on an application that works with images in various different ways. In each of the ways it takes an image, changes the pixel colors and some way, then puts the colors in an array. Then, the new image is "drawn" pixel by pixel on screen, and a screencap is taken. The problem is, i can't figure out how to draw the picture on screen pixel by pixel. If I used the drawline object and just made each line 1 pixel by 1 pixel, i'd have to refresh every pixel each frame, eventually it'd have to draw 307200 pixels each frame (for a 640*480 picture), that'd never work. Is there any other way of doing it that doesn't involve refreshing the pixels every frame?

Image Edited by the Author.

Happily Using Mac Now

I Officially Leave-d !

Post Reply



Worth A Click