[Gambas-user] About Image.Pixel
Bruce Steers
bsteers4 at gmail.com
Tue Aug 15 18:44:41 CEST 2023
On Tue, 15 Aug 2023 at 16:55, vuott--- via User <user at lists.gambas-basic.org>
wrote:
> Maybe....
>
>
> Public Sub Form_Open()
>
> Dim hImg As New Image(1, 1, Color.Red)
>
> Print "red = "; Color.Red
>
> Print hImg.Pixels[0]
> Print
> Print Val("&" & Hex(hImg.Pixels[0], 6) & "&"), Hex(hImg.Pixels[0], 8)
> Print
> Print hImg[0, 0]
>
> End
> ________________
>
Hehe, yes i was absolutely 100% sure i was not doing it the easiest way,
and maybe not even correctly ;)
Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230815/cf19d7ce/attachment-0001.htm>
More information about the User
mailing list