News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Blurring an Image

Started by kevin, August 29, 2008, 09:01:40 AM

Previous topic - Next topic

kevin

 Here's a little example of using blur image to do a saturated/blurred fade to white.

PlayBASIC Code: [Select]
   AnimalIMage=LoadNewFXimage(path$+"gfx\animal.jpg")

scaleimage AnimalIMage,GetScreenWidth(),GetScreenHeight(),1+2

Do
Drawimage AnimalImage,0,0,false
BlurImage AnimalIMage,8.5
Sync
loop