[Gambas-user] Reading RGB(A) values of screen pixels

Shane shanep1967 at ...169...
Thu Nov 21 08:15:14 CET 2013


there is this for ver 2.0
http://gambasdoc.org/help/comp/gb.qt/image
where you use image[x,y]

On 21/11/13 09:01, ukimiku wrote:
> *Dear list members,*
>
> this is my first post, I am new to Gambas. I tried to find an answer to my
> question by searching the list archives first, but have not been able to
> find information that was to the point.
>
> There are my 2 questions:
>
> a) When I have loaded and displayed a picture, how can I access the color
> information of its individual pixels? I would like to read the red, green,
> blue, and alpha values of any pixel that I specify.
>
> b) Is this possible for any screen pixels, even for pixels outside my
> picture/my Gambas application?
>
> Thank you.
> *
> Regards,*
> ukimiku
>
>
>
> --
> View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> 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