In my new game I have a scene where the user can paint on a Viewport using a Sprite.
At the end, I want to save the texture drawn by the user with the following code sample:
var image_texture = ImageTexture.new()
As specified in the documentation the second argument for
create_from_image is for flags and a 0 means that there is no flags and no filtering.
But, if it works well on desktop (texture is sharp), I have a "jpegy" kind of compression that appears when exporting to the web. Is there an additional step from preventing it to occur ?