On 07/13/2011 03:25 AM, Fabien Bodard wrote:
> http://gambasdoc.org/help/comp/gb.image?v3
>
>
> hum ok i've understand the way it work
>
>
> Dim redvalue as Integer
> redvalue = color[SomeImage[0,0]].red
>
>
> not easy to find that in the doc ... in fact it's the class color that
> return a colorinfo.
>
>
> http://gambasdoc.org/help/comp/gb.image/color/_get?v3
>
> Benoit, the created, array read/write fuctions page need to be more
> visible... you need to find a better way for users found them !
>
> they are blended in the text and look like all others links...

Thank you. I also found I could divide the Integer representing the 
color by 65536 to get an approximation. Don't know if the color having 
an alpha value would throw this off, as my case had no alpha. I had a 
gray-scale image and was trying to get the value of a pixel from it.

I have noticed that if you do a search on the gb docs that a lot of old, 
sparse docs show up. Normal browsing links to pretty solid stuff, but 
there seems to be a lot of orphaned articles in there when searching.

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: [email protected]
phone: (770) 853-6271


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to