【好记性不如烂笔头】常用的图片 文件格式 和 纹理格式

  【好记性不如烂笔头】常用的图片 文件格式 和 纹理格式

1,常用的图片文件格式:

bmp ( window 下通用格式 Bitmap 除了深度可选,不采用任何压缩)

gif (一种基于LZW算法的连续色调的无损压缩格式 压缩率在50%)

jpeg(非常流行的图像格式,有损压缩 ,不支持透明像素 ,压缩比较大 )

png(和jpg类似,压缩比高于gif ,支持透明度,无损压缩 )

 

2,常用的纹理格式:

R5G6B5,

A4R4G4B4,

A1R5G5B5,

R8G8B8,

A8R8G8B8

pvr:

RGBA8888: 32-bit texture with alpha channel, best image quality
RGBA4444: 16-bit texture with alpha channel, good image quality
RGB565: 16-bit texture without alpha channel, good image quality but no alpha (transparency)

 

 

3,常用的压缩纹理格式:

基于OpenGL ES的压缩纹理有常见的如下几种实现:
1)ETC1(Ericsson texture compression)
2)PVRTC (PowerVR texture compression)
3)ATITC (ATI texture compression)
4)S3TC (S3 texture compression)

4,针对移动设备上的图片优化方法:

ios用pvrtc 或者 pvr.ccz

Android用ETC1

 

附:

http://www.cnblogs.com/zhengye/articles/2193006.html

http://blog.csdn.net/liaowenfeng/article/details/18655011

posted @ 2015-07-10 11:50  gzfree  阅读(452)  评论(0编辑  收藏  举报