LEADTOOLS JavaScript (Leadtools)

ImageData Property (ImageProcessing)

Show in webframe
Gets or sets the source HTML5 canvas image data.
Syntax
get_imageData();
set_imageData(value);
Object.defineProperty('imageData');

Property Value

TypeDescription
ImageDataThe 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.

See Also

Reference

ImageProcessing Object
ImageProcessing Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.