码迷,mamicode.com
首页 >  
搜索关键字:raw image    ( 53293个结果
PHP 图片水印法
file=$file; $this->save='wm'.basename($this->file).'.jpg'; // new file to save watermarked image as $this->im=$this->open_img($this->file); ...
分类:Web程序   时间:2014-06-28 15:22:38    阅读次数:233
加载图片时的2种方法
1,仅加载图片,图像数据不会缓存。NSString *path = [[NSBundle mainBundle] pathForResource:@”icon” ofType:@”png”]; UIImage *image = [UIImage imageWithContentsOfFile:pa....
分类:其他好文   时间:2014-06-28 11:43:47    阅读次数:177
python学习笔记
1.if语句(python中没有switch语句,可用if……elif……else代替)格式: if 表达式: #语句 else: #语句eg:number = 23guess = int(raw_input('Enter an integer:'))if guess == numb...
分类:编程语言   时间:2014-06-28 11:35:24    阅读次数:253
Part1 – OPENVSWICH – Creating and Submitting Openvswitch Extension To Tinycore Upstream
In May 2011, I read a request for installation Openvswitch on Qemu image. I started to play with Openvswitch and finally became fan of this project. I...
分类:其他好文   时间:2014-06-24 10:31:56    阅读次数:259
Part2 – OPENVSWICH – VLANs, Trunks, L3 VLAN interface, InterVLAN Routing – Configuration And Testing
In a previous tutorial we showed how to install Openvswitch on Qemu image with Microcore Linux. At the end of tutorial we created Openvswitch extensio...
分类:其他好文   时间:2014-06-24 10:15:40    阅读次数:610
android 调用系统相机获取图片、调用系统相册获取图片,并对图片进行截取
打开系统相册获取图片并截取,代码相对简单 1 Intent intent = new Intent(Intent.ACTION_GET_CONTENT,null); 2 intent.setType("image/*"); 3 intent.putExtra("cro...
分类:移动开发   时间:2014-06-24 09:45:53    阅读次数:360
IOS 图片转换二进制 二进制转换为图片
//类方法 图片 转换为二进制+(NSData *)Image_TransForm_Data:(UIImage *)image{ NSData *imageData = UIImageJPEGRepresentation(image , 0.5); //几乎是按0.5图片大小就降到原来...
分类:移动开发   时间:2014-06-24 08:58:06    阅读次数:334
Python破解协议密码
程序仅供学习。 1 #!/usr/bin/python 2 import os 3 import time 4 ip=raw_input("Enter the ip,example: 192.168.1.0-254:\n") 5 service = raw_input("Enter the Ser....
分类:编程语言   时间:2014-06-24 08:52:55    阅读次数:489
Win32中GDI+应用(四)--- 位图的打开与显示
显示位图,你应该使用GDI+里面的Bitmap类或者Image类,这两个类都提供了方法从硬盘上的一个文件打开文件,创建相应的内存中的位图对象的工作。然后你可以使用Graphics类的DrawImage方法来绘制该位图。下面的代码初始化GDI+,显示一个打开文件对话框并且创建Bitmap对象,显示位图...
分类:Windows程序   时间:2014-06-23 06:02:53    阅读次数:404
Raw-OS源代码分析之同优先级任务切换
分析的内核版本号截止到2014-04-15,基于1.05正式版,blogs会及时跟进最新版本号的内核开发进度,若源代码凝视出现”???”字样,则是未深究理解部分。 Raw-OS官方站点:http://www.raw-os.org/ Raw-OS托管地址:https://github....
分类:其他好文   时间:2014-06-21 14:15:23    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!