CanvasImageData QML Type

Contains image pixel data in RGBA order. More...

Import Statement: import QtQuick 2.15

Properties

Detailed Description

The CanvasImageData object holds the image pixel data.

The CanvasImageData object has the actual dimensions of the data stored in this object and holds the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.

See also width, height, data, Context2D::createImageData(), Context2D::getImageData(), and Context2D::putImageData().

Property Documentation

data : object

Holds the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.


height : int

Holds the actual height dimension of the data in the ImageData object, in device pixels.


width : int

Holds the actual width dimension of the data in the ImageData object, in device pixels.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.