imageData Property

Summary

Gets or sets the source HTML5 canvas image data.

Syntax

JavaScript Syntax
Object.defineProperty(ImageProcessing.prototype, 'imageData', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly