Dev Center
Table of contents

ImageData

Stores the image data.

class ImageData

Attributes

Attribute Type
bytes bytearray
width int
height int
stride int
image_pixel_format ImagePixelFormat
orientation int

bytes

The image data content in a byte array.

ImageData.bytes

width

The width of the image in pixels.

ImageData.width

height

The height of the image in pixels.

ImageData.height

stride

The stride (or scan width) of the image.

ImageData.stride

image_pixel_format

The image pixel format used in the image byte array.

ImageData.image_pixel_format

orientation

The orientation of the image data. The value is the angle that the image needs to be rotated clockwise so it shows correctly on the display in its natural orientation. It can be 0, 90, 180, or 270.

ImageData.orientation

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +