For example,
Bitmap.createScaledBitmap(
bitmap
,bitmap.getWidth()*2
,bitmap.getHeight()*2
,true);
If there's a code like this, it's a source that doubles... The difference between true and false of the last parameter is
If it's false: It's doubled as it is now in Pixel form The image may look broken or blurred.
If true: Adjust the image pixel form now It helps the image look clear.
Caution) If you increase the image or use the true option, the image that is too large is out of memory There is a high possibility of an error, so please use it carefully.
© 2024 OneMinuteCode. All rights reserved.