Converting Picture class to iOSImage

I want to convert an image that I already uploaded to Xojo into an iOSImage class. This is done so that I can upload my iOSImage class to a database. Is this possible?

I’m not sure what you mean by “uploaded to Xojo”.

If you mean that you dragged the image into your project then you can just assign that image to an iOSImage using =

As far as storing that image in a database, you probably want to use iOSImage.ToData in order to store a string representation of the image in your database and iOSImage.FromData to reconstruct it later.

Thanks, Jared. I didn’t know I can just assign it using =.