fix : reduce piskel model size : fix import feature
This commit is contained in:
parent
df4978f6af
commit
e9a2ccfd1d
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
context.drawImage(image, 0,0,w,h,0,0,w,h);
|
||||
var imgData = context.getImageData(0,0,w,h).data;
|
||||
return pskl.utils.FrameUtils.createFromImageData(imgData);
|
||||
return pskl.utils.FrameUtils.createFromImageData(imgData, w, h);
|
||||
},
|
||||
|
||||
createFromImageData : function (imageData, width, height) {
|
||||
|
|
Loading…
Reference in a new issue