The Image Editor Object

Image editor is GUI object used to provide basic image processing functionality like image adjustment, image manipulation, filters, painter, and image histogram.

var imgeSample = new TImageEditor(['images/Sunset.jpg', 'images/Lemon Plants.jpg' ]);
var wndImagEditorSample = createWindow('Image Editor Sample');

wndImagEditorSample.add(imgeSample);
showModal(wndImagEditorSample);

Image editor constructor takes eight parameters:

new TImageEditor(srcArray, foldersUrl, imagesUrl, addMediaUrl, editMediaUrl, deleteMediaUrl, searchUrl, saveUrl);

Where:

Image Processing Functionality

Image Manipulation Image Adjustment Filters Image Histogram Painter Image Editor Methods and Properties
Method/Property Description
getBackColor Gets background color for painting
getForeColor Gets Fore color for painting
setBackgroundColor Sets image editor object background color