Since svn commit #2294, image api as changed:
- MakeTransparent() and MakeGray() are renammed to Transparent() and Gray()
- All Methods are applying the effect on the image itself, not to a returned 
copy ! If you need to apply the effect, do a copy before with the Copy() 
method.

The benefict effect is that now you can easily chain effects:

Image.Load($mypic &/ ".jpg")..Mirror(True, 
True).Colorize(Color.Blue).Gray().Resize(100, 100).save($mypic & "new.jpg")

Currently some api are not yet changed, but should be in future (some gb.qt4, 
gb.qt, gb.gtk).

Have fun !

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to