[Gambas-user] get color from drawingarea point

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Apr 22 15:48:30 CEST 2009


tmpImage = DrawingArea1.Grab().Image
c = tmpImage[x, y]


Jussi


On Wed, Apr 22, 2009 at 14:11, juelin <juergen.linder at ...17...> wrote:
>
> hi,
> I need to get the color of point into drawingaera.
> I use "c = DrawingArea1.Grab().Image[x, y]"
> This works well, but for a Area of 512 x 512 points it needs more than 10
> minutes
> How can I accelerate this function?
>
> kind regards
> Jürgen
> --
> View this message in context: http://www.nabble.com/get-color-from-drawingarea-point-tp23174196p23174196.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list