imageData Property

Summary

Gets or sets the source HTML5 canvas image data.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageProcessing.prototype, 'imageData', 
	get: function(), 
	set: function(value) 
) 
imageData: ImageData; 

Property Value

The source HTML5 canvas image data for the image processing.

Remarks

Since ImageProcessing uses HTML5 web workers, the source image data passed to ImageProcessing.ImageData cannot be manipulated directly. Instead, you must subscribe to the ImageProcessing.Completed to obtain the result image data object.

Note that you can pass the whole or portion of the canvas area to the command by using the context.getImageData(left, top, width, height) and context.putImageData(left, top).

Example

For an example, refer to ImageProcessing.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly