Image.Premultiplied (gb.image)

Const Premultiplied As Integer = 1

This constants represents an image whose pixels are encoded in premultiplied ARGB format.

  • Each pixel is encoded with four bytes in memory.

  • The first byte is the alpha component, 0 being totally transparent, and 255 totally opaque.

  • The second byte is the red component, already multiplied by the alpha component divided by 255.

  • The third byte is the green component, already multiplied by the alpha component divided by 255.

  • The fourth byte is the blue component, already multiplied by the alpha component divided by 255.