0

Confirm screen show image as coarse.

I tested it with Pantech IM model -version is kitkat.

How can I display confirmation image as more smoothly?

coarse image at confirm screen

Intent i=new CameraActivity.IntentBuilder(getActivity())
        .facing(CameraActivity.Facing.BACK)
        .to(new File(tmpCameraPic))
        .debug()
        .updateMediaStore()
        .build();

startActivityForResult(i, CAPTURE_IMAGE);
Halvor Holsten Strand
  • 19,829
  • 17
  • 83
  • 99
sungyong
  • 2,267
  • 8
  • 38
  • 66
  • "Confirm screen show image as coarse." - I have no idea what this means, sorry. – CommonsWare Feb 01 '16 at 12:37
  • If do not use 'skipConfirm()', cwac show confirm screen. But at this time, shown image is very coarse. If I check image at gallery, it shows smooth image. I think android do it when display image to view. Can I manually use this point i.q. picasso library? – sungyong Feb 02 '16 at 08:52
  • "shown image is very coarse" -- I have no idea what this means, sorry. "Can I manually use this point i.q. picasso library?" -- I have no idea. – CommonsWare Feb 02 '16 at 11:26
  • Ok, thanks for your quick answer. – sungyong Feb 03 '16 at 04:58

1 Answers1

0

Try giving some heap to the preview so cam2 can load the image with a better quality.

From this documentation page, add the confirmationQuality(0.1f) to the intent. 0.1f -> Better quality.

Intent i=new CameraActivity.IntentBuilder(getActivity())
        .facing(CameraActivity.Facing.BACK)
        .to(new File(tmpCameraPic))
        .debug()
        .updateMediaStore()
        .confirmationQuality(0.1f)
        .build();