Because the decode out of the picture is too small, smaller than the screen. As a result, the image is magnified slightly when displayed, causing the line shape to appear jagged.
Ability to change the size of the Getscreenimagesize method, for example, to make 133, larger.
Detailed changes such as the following:
Modify Getscreenimagesize function in Filtershowactivity.java file about lines 507.
private int getscreenimagesize () {
Displaymetrics metrics = new Displaymetrics ();
Display display = Getwindowmanager (). Getdefaultdisplay ();
Point size = new Point ();
Display.getsize (size);
Display.getmetrics (metrics);
int msize = Math.min (size.x, size.y);
Return (133 * msize)/metrics.densitydpi; Can modify 133 to larger number.
}
Android Camera Select photo editing after taking photos, photo editing interface line shape will show jagged