I have a bitmap of 246x400 and I want to create a bitmap of 500x500, once having the 500x500 bitmap, I want to insert the 246x400 bitmap in the middle of the 500x500 bitmap, like this:
This is what I have tried:
Bitmap bmp2 = bmp1.copy(bmp1.getConfig(), true);