Zooming in on a large image loaded in the ImageEditor results in poor performance.
A sample application is available in ticket 1595292. Run the application and zoom in on the top ImageEditor.
Zooming in takes too much time.
Zooming should be faster.
Issue is possibly related to the check on whether an image is exportable - link. A possible workaround is to bypass the check:
kendo.ui.ImageEditor.fn._toggleTools = function () {
var that = this,
canRedo = that.redoStack.length > 0,
canUndo = that.undoStack.length > 0,
hasImage = !!that._image;
that.toolbar.toggleTools({
redo: canRedo,
undo: canUndo,
enable: hasImage,
canExport: true, // Avoid checking if image can be exported. Causes performance issues.
});
};
When cropping an image in the ImageEditor, if the "Lock aspect ratio" checkbox is unchecked, the change in the "Aspect Ratio" DropDownList doesn't change the crop area.
The crop area above the loaded image doesn't change
The crop area should change based on the selected ratio, no matter if the "Lock aspect ratio" checkbox is checked or not
1523281
To reproduce the problem open the ImageEditor demo page (https://demos.telerik.com/kendo-ui/imageeditor/index)
then select the "crop" command and position the crop area in the middle of the picture, near the right border
then select the bottom-middle handle and pull down.
The crop area goes out of image, see the attached screenshot.
Thanks