解决问题:将图像模糊
前提:添加 CoreGraphics.framework
源码:
- (UIImage*) blur:(UIImage*)theImage
{
// create our blurred image
CIContext *context = [CIContext contextWithOptions:nil];
CIImage *inputIma...
分类:
移动开发 时间:
2014-08-21 00:14:03
阅读次数:
232
jquery的替换函数:replace()replace(要替换的目标,替换后新值)$("image").attr("src").replace("width=60", "width=200");find() 方法获得当前元素集合中每个元素的后代,通过选择器、jQuery 对象或元素来筛选。$("p...
分类:
Web程序 时间:
2014-08-21 00:05:13
阅读次数:
278
网页文件的存取路径有3种:物理路径、绝对路径和相对路径。物理路径就是你的文件放在主机上的具体位置,例如:D:\\image\\1.jpg 这种格式,该方法可以很快确定出你的文件,但是在网页显示路径基本很少用。绝对路径是以网站的根目录(www)作为起始点,某文件在该项目中具体位置信息。比如你的网站放在...
分类:
Web程序 时间:
2014-08-20 20:55:23
阅读次数:
271
首先 使用编译工具 ?FlashDevelop 打开 openflashchart的文件 如果没有修改过的话 路径为? open-flash-chart-2-Lug-Wyrm-Charmer\open-flash-chart\open-flash-chart.as3proj 然后在 main.as 中 搜索一下 ?就可...
分类:
其他好文 时间:
2014-08-20 18:12:32
阅读次数:
180
借鉴下别人超棒的设计与体验
URL:http://huaban.com/boards/1091038/
URL:https://dribbble.com/
充分的利用github,可以教你的设计师来用,找不同so easy
URL:https://github.com/cameronmcefee/Image-Diff-View-Mo...
分类:
移动开发 时间:
2014-08-20 18:08:32
阅读次数:
282
最近读seajs源码,整理出了主要逻辑的流程图(注意:是逻辑示意图),感兴趣的朋友可以看看,欢迎批评指正~
http://www.gliffy.com/go/publish/image/6072161/L.png...
分类:
Web程序 时间:
2014-08-20 18:03:32
阅读次数:
906
学习笔记之《Rich feature hierarchies for accurate object detection and semantic segmentation》...
分类:
其他好文 时间:
2014-08-20 16:30:52
阅读次数:
326
作为个人学习笔记分享,有任何问题欢迎交流!
在openstack中创建虚拟机的底层实现是nova使用了libvirt,代码在nova/virt/libvirt/driver.py。
#image_meta:镜像的相关内容,#injected_files:要注入到VM的文件
#network_info:网络相关信息,block_device_info:磁盘相关信息
def spawn(sel...
分类:
其他好文 时间:
2014-08-20 16:28:42
阅读次数:
292
很简单的代码,记录下,防止忘记。实现过程和生成验证码相似public void SavePhoneImg(string Phone, string path) { System.Drawing.Bitmap image = new System.Drawing.B...
分类:
其他好文 时间:
2014-08-20 16:09:22
阅读次数:
175
display image dispMainPic(){ docuRef docuRef; docuType docuType; image ret; ; select firstonly docuRef wher...
分类:
其他好文 时间:
2014-08-20 15:52:22
阅读次数:
131