After taking a photo from an android camera, select "Edit photo". The line shape on the photo editing page will display a jagged image,
Because the image displayed by decode is too small, it is smaller than the screen size. Therefore, the image will be slightly enlarged during display, resulting in a straight line shape showing a tab.
You can modify the size in the getScreenImageSize method. For example, you can increase the size by 133.
The specific modification is as follows:
Please 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.
}