Forum Archive

PNG to SpriteNode texture?

m_doyle04

Hi All,

I've had a good look through this forum and as much documentation as I could take but I can't find a way to convert photos/images on my phone in PNG and JPEG format to a 'texture' for a SpriteNode in a Scene.

Anyone know how to do this? I can import as a 'ui.Image' but that doesn't work for SpriteNodes...

JonB

http://omz-software.com/pythonista/docs/ios/scene.html#scene.Texture