Basically, I want to stretch a smaller image (i.e. 300x300 to a larger one, i.e. 500x500) with no space or black background.
I have a bitmap (for example, a width of 500 pixels and a height of 500 pixels). How to draw another (smaller) image on this bitmap so that it accepts whole bitmaps?
I already know how to create a bitmap image (i.e. var bitmap = new Bitmap(500, 500);) and get an image - it can be downloaded from a file (i.e. var image = Image.FromFile(...);) or obtained from another source.
source
share