UnderwareDESIGN

PlayBASIC => Resources => Source Codes => Topic started by: kevin on August 29, 2008, 09:01:40 AM

Title: Blurring an Image
Post by: kevin on August 29, 2008, 09:01:40 AM
 Here's a little example of using blur image to do a saturated/blurred fade to white.

[pbcode]
   AnimalIMage=LoadNewFXimage(path$+"gfx\animal.jpg")
   
   scaleimage AnimalIMage,GetScreenWidth(),GetScreenHeight(),1+2

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

[/pbcode]  

(http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=2610.0;attach=1978;image)