I’m new to Monogame and have been trying to port an XNAGame released 5 years ago for the last few days.
I have an image that comes from the user and the downstream code really wants this to be 1536x2048, and the files loaded were always either 1536x2048 or smaller, but always with the same 3:4 ratio.
The solution was simple :
var tex = Texture2D.FromStream(graphicsDevice:graphicsDevice, stream:titleStream,width:1536,height:2048,zoom:true);
However the overload with width, height, zoom does not exist in monogame.
Any suggestions to load a texture from file/stream at a specific size different from the source image?