码迷,mamicode.com
首页 >  
搜索关键字:bitmap    ( 2389个结果
Oracle 唯一 索引 约束 创建 删除
http://www.blogjava.net/lukangping/articles/340683.html/*给创建bitmap index分配的内存空间参数,以加速建索引*/show parameter create_bit;/*改变索引的存储参数*/alter index index_nam...
分类:数据库   时间:2014-11-08 15:11:13    阅读次数:204
关于Bitmap.createBitmap(Bitmap source, int x, int y, int width, int height)这个方法
============问题描述============ Bitmapandroid.graphics.Bitmap.createBitmap(Bitmapsource,intx,inty,intwidth,intheight)这个方法屌爆了,不会用后面的四个参数到底啥意思啊不是说截的是一个矩形的x...
分类:其他好文   时间:2014-11-08 15:00:08    阅读次数:148
Android——将图片加入到系统相册里面
Adnroid中保存图片的方法可能有如下两种:第一种是自己写方法,如下代码:public static File saveImage(Bitmap bmp) { File appDir = new File(Environment.getExternalStorageDirectory(), ...
分类:移动开发   时间:2014-11-07 23:17:58    阅读次数:284
利用canvas和bitmap如何对图片缩放到适应屏幕大小?
创建你自己想要大小的bitmappublicstaticBitmapresizeBitmap(Bitmapbitmap,intw,inth){if(bitmap!=null){intwidth=bitmap.getWidth();intheight=bitmap.getHeight();intnewWidth=w;intnewHeight=h;floatscaleWidth=((float)newWidth)/width;floatscaleHeight=((float)newHeight..
分类:其他好文   时间:2014-11-07 19:17:53    阅读次数:260
MFC改变静态编辑框Static Text背景
对于静态编辑框 1.添加静态编辑框,ID为IDC_ShowTime 2.在dlg.h中 void  DrawOnShowtime(); 3.在onpaint函数中 else下 DrawOnShowtime(); 4.编辑函数 void  CxxxxDlg::DrawOnShowtime() {     CStatic * pStatic  = (CStatic *)GetD...
分类:编程语言   时间:2014-11-07 19:06:22    阅读次数:219
Drawable和Bitmap区别
Bitmap - 称作位图,一般位图的文件格式后缀为bmp,当然编码器也有很多如RGB565、RGB888。作为一种逐像素的显示对象执行效率高,但是缺点也很明显存储效率低。我们理解为一种存储对象比较好。 Drawable - 作为Android平下通用的图形对象,它可以装载常用格式的图像,比如GIF...
分类:其他好文   时间:2014-11-07 18:57:48    阅读次数:270
简单验证码的识别:Bitmap类的使用
验证码的智能识别是一项比较复杂的工作,甚至需要掌握点图像学的知识。 当然对于写程序的来说不用那么深入,只需要掌握几个常规步骤就行了。 验证码图像识别步骤:1、获取图像 2、清除边框 3、灰度处理 4、二值化处理 5、噪点处理 6、图像分割 7、识别单个数字 8、拼接验证码一、获...
分类:其他好文   时间:2014-11-07 18:55:20    阅读次数:690
BitmapSource ConvertTo Bitmap
偶遇需要把 BitmapSource 转成 Bitmap。 。。using System;using System.Drawing;using System.Drawing.Imaging;using System.Windows;using System.Windows.Media.Imagin....
分类:其他好文   时间:2014-11-07 18:31:40    阅读次数:225
BitmapFactory.Options详解 -- 转载
下面我们回到我们的主题上来:怎样获取图片的大小?思路很简单:首先我们把这个图片转成Bitmap,然后再利用Bitmap的getWidth()和getHeight()方法就可以取到图片的宽高了。新问题又来了,在通过BitmapFactory.decodeFile(String path)方法将突破转成...
分类:其他好文   时间:2014-11-07 14:33:18    阅读次数:220
Android -- Drawable && Bitmap
Bitmap转Drawable Bitmap bm=xxx; BitmapDrawable bd=new BitmapDrawable(bm);因为BtimapDrawable是Drawable的子类,最终直接使用bd对象即可。Drawable转Bitmap Drawable d=xxx; Bitm...
分类:移动开发   时间:2014-11-06 23:23:53    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!