Android-CutOut icon indicating copy to clipboard operation
Android-CutOut copied to clipboard

Question: resizeBitmap

Open tigerss opened this issue 5 years ago • 1 comments

Hi, from the source code it seems that when the DrawView size is changed the image bitmap is resized. I think it's possible to directly draw the original scaled bitmap on Canvas like you did in resizeBitmap

canvas.drawBitmap(bitmap, transformation, paint);

Is there any reason to create another bitmap from the original one for resizing?

tigerss avatar Jun 19 '20 11:06 tigerss

@tigerss how to get original image's width and height ?

brittle123 avatar Aug 31 '21 07:08 brittle123