get quality for High
int quality = CameraProfile.getJpegEncodingQualityParameter(CameraProfile.QUALITY_HIGH); Log.d("test", "QUALITY_HIGH=" + quality);for medium
quality = CameraProfile.getJpegEncodingQualityParameter(CameraProfile.QUALITY_MEDIUM); Log.d("test", "QUALITY_MEDIUM=" + quality);for low
quality = CameraProfile.getJpegEncodingQualityParameter(CameraProfile.QUALITY_LOW); Log.d("test", "QUALITY_LOW=" + quality);source code here
my android result
QUALITY_HIGH=90 QUALITY_MEDIUM=80 QUALITY_LOW=70This quality paramter is used for setJpegQuality().
setJpegQuality() sample source code
0 件のコメント:
コメントを投稿