[Gambas-user] About Image.Pixel

Fabien Bodard gambas.fr at gmail.com
Mon Aug 14 22:18:08 CEST 2023


Hi,

Dim hImg As New Image(1, 1, Color.red)
dim a as Integer[]

a = hImg.Pixels
  Print a[0]
  Print hImg[0, 0]

result :
-65536
16711680


Why ?

-- 
Fabien Bodard


More information about the User mailing list