I want to load a remote image via http(s) and display it in my HTML5 app, but I have this limitation:
I can’t save the image in my host.
So, if the methods that Corona ( network.request , network.loadRemoteImage and network.dowload ) provides requires the filename property that will be the file to which the response will be saved, how can I doing this?
If your host completely prevents you from saving any files, even temporarily, then you can’t use remote images as is.
You could, technically, convert the image that you want to send into JSON (or have a vector image’s definitions) and use that JSON data for creating a raster JPG/PNG, but this is far from a trivial task.
If your host completely prevents you from saving any files, even temporarily, then you can’t use remote images as is.
You could, technically, convert the image that you want to send into JSON (or have a vector image’s definitions) and use that JSON data for creating a raster JPG/PNG, but this is far from a trivial task.