I think this has been discussed before, but damn if I can't find it or figure it out myself.
If I read a color value from an image, like this: Dim Pixel as Integer Pixel = SomeImage[0,0] I get an Integer. I'd like to know what the value is of a specific channel of the pixel/color. I see the ColorInfo class (http://gambasdoc.org/help/comp/gb.image/colorinfo?v3) which looks like it should return any specified channel from a Color/Integer, but the docs and autocomplete fail me on its usage. What's the syntax for ColorInfo, or does it even work in gb3? I have no idea how to use it. -- 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
