fix powerOfTwo setter for CANVAS Image type
This commit is contained in:
@@ -1732,7 +1732,10 @@ class Image {
|
||||
|
||||
case CANVAS:
|
||||
|
||||
// TODO
|
||||
#if (js && html5)
|
||||
ImageCanvasUtil.convertToData (this);
|
||||
#end
|
||||
ImageDataUtil.resizeBuffer (this, newWidth, newHeight);
|
||||
|
||||
case DATA:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user