Content-generator-sketch-plugin icon indicating copy to clipboard operation
Content-generator-sketch-plugin copied to clipboard

Deprecated method in Sketch 47

Open bomberstudios opened this issue 7 years ago • 0 comments

This method is deprecated in the upcoming Sketch 47 version:

https://github.com/timuric/Content-generator-sketch-plugin/blob/5ccbbfb37a02a6bcf9144b466257e0ddd1d7387e/CG.sketchplugin/Contents/Sketch/js/loadImage.js#L62

Instead, you just need to use MSImageData.alloc().initWithImage(image)

Hope it helps!

bomberstudios avatar Aug 22 '17 15:08 bomberstudios