码迷,mamicode.com
首页 >  
搜索关键字:image    ( 48784个结果
图片异步加载 ,KVO
图片异步下载类目:.h#import typedef void (^ImageBlock)(UIImage *img);@interface UIImage (ImageDown)//第一个参数获得一个url的字符串(图片)//第二参数 block块是用来将解析出来的image进行第二次赋值+(UI...
分类:其他好文   时间:2014-11-19 07:08:40    阅读次数:137
关于iphone6/5/4s 在iOS8.0系统下 只读@3x图片
've tried in a sample project to use standard, @2x and @3x images, and the iPhone 6+ simulator uses the @3x image. So it would seem that there are @3x images to be done (if the simulator actually replicates the device's behavior). But the strange thing is ...
分类:移动开发   时间:2014-11-19 01:53:31    阅读次数:194
[leetcode]Rotate Image
问题描述: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 基本思路: 此题要求矩阵顺时针转90度。可以找出元素选择规律: i‘ = j; j...
分类:其他好文   时间:2014-11-19 01:24:29    阅读次数:154
瓦力完成图
发几张瓦力的完成图
分类:其他好文   时间:2014-11-19 00:02:56    阅读次数:272
OpenCV Tutorials —— Adding borders to your images
扩展图像边界: BORDER_CONSTANT: Pad the image with a constant value (i.e. black or BORDER_REPLICATE: The row or column at the very edge of the original is re...
分类:其他好文   时间:2014-11-18 23:44:20    阅读次数:338
winform对图片进行灰度处理
//图片进行灰度处理 //originalImage为原图像 返回灰度图像 private Bitmap GrayImage(Bitmap originalImage) { ImageAttributes image...
分类:Windows程序   时间:2014-11-18 23:36:36    阅读次数:239
centos7的安装
初装centos7还是在九月份,那时候关于win7 下centos7硬盘安装的资料很少,现在就好多,在这里备份下东西吧首先是安装的时候,关于找从那个地方找image的问题。hda ,sda分别表示两种不同借口的硬盘,现在一般都是都是第二种区别hda 和hdmbr磁盘中只能有四个主分区,扩展分区算是一...
分类:其他好文   时间:2014-11-18 17:26:24    阅读次数:134
史上最完全oophper php文件上传之文件类型对应表,ie,火狐各一份。
ie 火狐 id 后缀名 php识别出的文件类型 0 gif image/gif 1 jpg image/jpeg 2 png image/png 3 bmp image/bmp 4 psd application/octet-stream 5 ico image/x-ico...
分类:Web程序   时间:2014-11-18 16:04:11    阅读次数:242
iOS:通过URL构件UIImage
很多时候我们只能得到一个URL,然后需要构建一个UIImage。 通常情况下,我们一般都是通过SDWebImage来直接构建UIImageVIew的image,如何用URL直接构建UIImage呢? 如下转换: NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:urlStr]]; button.backgro...
分类:移动开发   时间:2014-11-18 13:31:30    阅读次数:164
用Dockerfile构建docker image
dockerfile是为快速构建docker image而设计的,当你使用docker build 命令的时候,docker 会读取当前目录下的命名为Dockerfile(首字母大写)的纯文本文件并执行里面的指令构建出一个docker image。 而另一种构建docker iamge 的方...
分类:其他好文   时间:2014-11-17 22:28:35    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!