Fixed sepia filter uploading black pictures. #32

Merged
11025980 merged 1 commits from niels-profile into master 2017-06-29 16:22:19 +02:00

View File

@@ -73,6 +73,7 @@ public class PicturePreview extends SurfaceView implements SurfaceHolder.Callbac
filter = new ColorMatrixColorFilter(cm);
paint.setColorFilter(filter);
saveCanvas.setBitmap(filterPicture);
saveCanvas.drawBitmap(rotate(picture, rotate), 0, 0, paint);
canvas.drawBitmap(rotate(picture, rotate), 0, 0, paint);
break;