I have an application in which I use the camera, the problem is that when I take the photo, the pixelated image appears in the preview of the Android camera application, here is an example:
I access the camera like this:
val takePictureIntent = Intent(MediaStore.ACTION_IMAGE_CAPTURE)
startActivityForResult(takePictureIntent, TAKE_PICTURE)
As I say, it is in the camera application itself where the image is pixelated, not in my application, where I later receive the image in this way as well.