final target is to write a text on an image.
someone know if it is possible to store an area of canvas into an image?
thanks
arturo
get canvas pixel ? store canvas on imageData ?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: get canvas pixel ? store canvas on imageData ?
A simple way
I don't know if that answers your question
Code: Select all
canvas = love.graphics.newCanvas(width,height)
--do your stuff here
imgdata = canvas:getImageData()
imgdata:encode("render.png")
Re: get canvas pixel ? store canvas on imageData ?
thank you.
it's what i need.
arturo
it's what i need.
arturo
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests