Open metehus opened 3 years ago
You can use something like https://github.com/disintegration/imaging to resize the image before drawing it.
Or you can use Scale/ScaleAbout. Pre-processing the image as mentioned above is simpler although maybe not as efficient.
I'm using the
DrawImage
method, but i can't specify the size i want for the image, since there's no parameter for that. Is it possible to do? otherwise, would be cool to add that feature.