Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - A-Z -> R -> ReadPixel

ReadPixel( pixmap:TPixmap,x,y )

Returns:

A 32 bit pixel value

Description:

Read a pixel from a pixmap

The returned 32 bit value contains the following components:

bits 24-31pixel alpha
bits 16-23pixel red
bits 8-15pixel green
bits 0-7pixel blue



Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command