Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qiu-deqing committed Aug 1, 2014
1 parent 5e53497 commit 06cc736
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,22 @@ Content-Type: text/html; charset=iso-8859-1

- **PNG, GIF, JPG的区别及如何选择**
参考资料: [选择正确的图片格式](http://www.yuiblog.com/blog/2008/11/04/imageopt-2/)
GIF
**GIF**:
1.8位像素,256色
2.无损压缩
3.支持简单动画
4.支持boolean透明
5.适合简单动画
**JPEG**
1.颜色限于256
2.有损压缩
3.可控制压缩质量
4.不支持透明
5.适合照片
**PNG**
1.有PNG8和truecolor PNG
2.PNG8类似GIF颜色上限为256,文件小,支持alpha透明度,无动画
3.适合图标、背景、按钮

<br />

Expand Down

0 comments on commit 06cc736

Please sign in to comment.