1.显示图片 1>UIIMageView只能一种图片(图片默认会填充整个UIImageView)image\setImage 2>UIButton能显示2种图片 *背景(背景会填充整个UIButton)setBackgroungImage:forState: *前置(覆盖在背景上面的图片,按照之.....
分类:
其他好文 时间:
2014-12-05 10:47:03
阅读次数:
231
NSBundle一.获取图片1. NSString *path = [[NSBundle mainBundle] pathForResource:@"resourceName" ofType:@“resourceType"]; UIImage *image = [[UIImageimageW...
分类:
其他好文 时间:
2014-12-05 10:32:35
阅读次数:
160
提示:前面加*为特别重要typedef struct _IMAGE_DOS_HEADER { // DOS .EXE header WORD e_magic; // Magic number WORD e_cblp; ...
分类:
其他好文 时间:
2014-12-04 23:07:16
阅读次数:
229
#include #include"ProcessPixels.h"using namespace cv;using namespace std;int main(){ Mat image=imread("E:\\yifu.jpg"); Mat logo=imread("E:\\wawa.jpg.....
分类:
其他好文 时间:
2014-12-04 22:49:38
阅读次数:
133
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?
参考LeetCode[Array]: Spiral Matrix II的迭代思路,先完成最外环的旋转,然后...
分类:
其他好文 时间:
2014-12-04 21:43:42
阅读次数:
282
在微信里,其实可以改变“分享到朋友圈”和“转发给好友”的默认行为。这些js接口,截止到今天(安卓版微信6.0)还是不公开的,微信的官方文档里完全没有提到,但是其实借助WeixinJSBridge是可以做到的
分享行为
可以控制以下几种行为
缩略图
默认是微信自动截取当前页面中第一张大图,也就是标签,而且width要超过一定的值。display:none和background-image是不...
分类:
Web程序 时间:
2014-12-04 21:41:42
阅读次数:
273
本人是用终端命令来使用svn的,但是使用终端有两个烦恼
第一个是不能一次性添加全部文件,最后我通过在网上查找发现这样一条命令
svn st | awk '{if($1="?"){print $2}}' | xargs svn add
开始我也不知道是什么意思,就感觉挺好用。
但是这个命令不能添加 home_image@2x.png 这样的图片文件,需要在图片后面加“@”符号...
分类:
移动开发 时间:
2014-12-04 20:01:25
阅读次数:
197
Image manipulation and processing using Numpy and Scipy 翻译自:http://scipy-lectures.github.com/advanced/image_processing/index.html 作者:Emmanuelle Gouillart, Ga?l Varoquaux 图像?=?2-D?数值数...
分类:
其他好文 时间:
2014-12-04 18:18:54
阅读次数:
968
真是个马大哈呀
问题如下:
No system images installed for this target " title="解决CPU/ABI No system images installed for this target " style="margin:0px; padding:0px; border:0px; list-style:none">
1、在Tools...
分类:
移动开发 时间:
2014-12-04 18:02:20
阅读次数:
664
http://stackoverflow.com/questions/18520976/all-properties-of-intent-putextra-to-crop-image-in-androidhttp://www.cnblogs.com/iiahadadiaow/p/3979834.ht...
分类:
移动开发 时间:
2014-12-04 17:26:23
阅读次数:
146