Pixels manipulations....

Giganews Newsgroups
Subject:Pixels manipulations....
Posted by: David HAROUCHE (metan…@hotmail.com)
Date:Tue, 30 Dec 2008

Anybody have an idea of how to produce a "wave" TBitmap, from a "normal"
picture...

I'm lost in :

for every pixel[x,y] :

Y <--- Y * sin(Y - self.Height div 2);

And that produce something so uggly....

DH

Replies