How to copy a bitmap in another bitmap

0

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);
    
asked by goku venz 06.07.2018 в 23:33
source

0 answers