🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
imageEditor.setDrawingShape('rect', {
fill: {
type: 'filter',
filter: [{blur: 0.3}, {pixelate: 20}]
},
width: 100,
height: 200
});
imageEditor.addShape('rect', {
fill: {
type: 'filter',
filter: [{blur: 0.3}, {pixelate: 20}]
},
width: 100,
height: 200,
left: 100,
top: 100,
stroke: 'blue',
strokeWidth: 3
});
imageEditor.startDrawingMode('LINE_DRAWING', {
width: 10,
color: 'rgba(255,0,0,0.5)',
arrowType: {
tail: 'chevron' // triangle
}
});
addText
api.changeShape
, changeTextStyle
, applyFilter
api (#310)rotate
and setAngle
api. (fixed #307)getCropzone
api returned null in images of certain resolutions. (fixed #114)move
during crop region resize
. (fixed #118)