Posted: Thu Apr 18, 2019 12:46 pm Post subject: [Solved] Scale URL image as CEImage's scale
I'm using this :
Code:
function createPictureFromURL(url)
local http = getInternet()
local file = http.getURL(url)
http.destroy()
local picture = createPicture()
local stream = createStringStream(file)
picture.loadFromStream(stream)
return picture
end
url = 'I can't post URLs yet, but the image is .png and its the only shown'
CPFU = createPictureFromURL(url)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum