Tested and Working
This release implements the Image Edit and Image Variations Endpoints.
In both cases the developer needs to supply png Files in Data format (image.pngData()), the files must be under 4M and have dimensions of either 256x256, 512x512 or 1024x1024.
These checks have not been done internally as iOS and Mac's have different Libaries for Image Handling (UIImage and NSImage)
The Image Variations requires that the Image file is send as image.pngData()
The Image Edit requires EITHER an image and mask sent as pngData() OR an image file with an RGBA format.
Many default png files do NOT come with the Alpha Channel so you either need to supply a mask or convert the png from RGB to RGBA