Add nineslice support for programmatically created `graphics.image` objects

I was trying to programmatically generate an image to use as the source of a nineslice, and realized that the constructor only supports constructing them by image path. It'd be great if you could either pass a path or an existing image to playdate.graphics.nineslice.new()!

1 Like

Yes!

I had a similar request for creating imagetables from image source also.