2012年10月20日

摘要: http://www.linuxidc.com/Linux/2011-04/33966.htm 阅读全文

posted @ 2012-10-20 11:07 崔彦凯 阅读(140) 评论(0) 推荐(0)


2012年10月19日

摘要: http://blog.csdn.net/pgalxx/article/details/6773914 阅读全文

posted @ 2012-10-19 17:27 崔彦凯 阅读(121) 评论(0) 推荐(0)


2012年10月18日

摘要: http://blog.csdn.net/wdaming1986/article/details/6978814 阅读全文

posted @ 2012-10-18 18:03 崔彦凯 阅读(163) 评论(0) 推荐(0)

摘要: http://www.cnblogs.com/afly/archive/2012/05/07/2488003.html 阅读全文

posted @ 2012-10-18 17:19 崔彦凯 阅读(106) 评论(0) 推荐(0)


2012年10月12日

摘要: Bitmap用法总结1、Drawable → Bitmappublic static Bitmap drawableToBitmap(Drawable drawable) {Bitmap bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(),drawable.getIntrinsicHeight(),drawable.getOpacity() != PixelFormat.OPAQUE ? Bitmap.Config.ARGB_8888: Bitmap.Config.RGB_565);Canvas canvas = new Canv 阅读全文

posted @ 2012-10-12 18:49 崔彦凯 阅读(310) 评论(0) 推荐(0)

该文被密码保护。 阅读全文

posted @ 2012-10-12 18:46 崔彦凯 阅读(1) 评论(0) 推荐(0)

摘要: http://www.cnblogs.com/yyyyy5101/archive/2011/09/11/2173556.html注意这只是在xml中配置的,我们还可以在代码中去加载。 阅读全文

posted @ 2012-10-12 18:32 崔彦凯 阅读(141) 评论(0) 推荐(0)

摘要: Bitmap.Config ALPHA_8 Bitmap.Config ARGB_4444 Bitmap.Config ARGB_8888 Bitmap.Config RGB_565 A R G B透明度 红色 绿色 蓝色Bitmap.Config ARGB_4444 16 每个像素 占四位 Bitmap.Config ARGB_8888 32 每个像素 占八位 Bitmap.Config RGB_565 16 R占5位 G占6位 B占5位 没有透明度(A)一般情况下我们都是用argb888 但是无可厚非 它也相对的很占内存因为一个像素32位 8位一个字节 如果是800*480的图片... 阅读全文

posted @ 2012-10-12 14:31 崔彦凯 阅读(140) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3