---
title: "拍照：图片质量设置"
author: "AndLi"
date: "2012-03-23T11:31:14Z"
tags: []
categories: ["移动开发"]
slug: "untitled"
draft: false
lastmod: "2012-03-23T11:31:14Z"
id: 1462277
url: "https://andli.iteye.com/blog/1462277"
---

bitmap.compress(CompressFormat.JPEG, 50, outStream);

50就代表图片质量：

范围：1-100

值越大，图片质量越高，越清晰，相对图片大小越大

![](http://dl.iteye.com/upload/attachment/0065/3483/3796fd32-fb7b-3b4c-9a51-13c592bcde11.jpg)