一》.UIImageView和UIButton对比显示图片1> UIImageView只是一种图片(图片默认会填充整个UIImageView) image\setImage:2> UIButton能显示2种图片* 背景 (背景会填充整个UIButton) setBackgroundImage:for...
分类:
其他好文 时间:
2014-06-19 06:45:33
阅读次数:
204
做了个Android的常用类库框架,希望能帮助大家。包括了View Injection,ORM,Asynchronous Http and Image,User scenario testing。等等
希望大家多提意见,谢谢。
同时还有TripleDes Utils,WebViewUtils,Md5Utils 之类的方便大家使用。
github的地址如下:
https://gith...
分类:
移动开发 时间:
2014-06-16 22:14:01
阅读次数:
273
http://www.shuizhongyueming.com/2014/01/load-local-image-js-css-file-to-webview-in-xcode/
分类:
Web程序 时间:
2014-06-15 21:07:11
阅读次数:
317
/// /// 字节数组转换为图片 /// /// 字节数组 /// 图片 public Image BytesToImage(Byte[] buffer) { var ms...
分类:
其他好文 时间:
2014-06-15 20:02:28
阅读次数:
216
package com.sot.he.upload;import java.awt.Graphics;import java.awt.Image;import java.io.FileInputStream;import java.io.FileNotFoundException;import ja...
分类:
其他好文 时间:
2014-06-15 06:44:15
阅读次数:
315
分享下nginx http服务器的配置方法。第一篇:HTTP服务器因tomcat处理静态资源的速度比较慢,所以首先想到的就是把所有静态资源(JS,CSS,image,swf)提到单独的服务器,用更加快速的HTTP服务器,这里选择了nginx了,nginx相比apache,更加轻量级,配置更加简单,而...
分类:
其他好文 时间:
2014-06-15 00:20:17
阅读次数:
194
header("Content-Type:image/gif"); header('Content-Disposition: attachment; filename="logo3333.gif"'); header('Content-Length:'.filesize("logo.gif"));....
分类:
其他好文 时间:
2014-06-14 23:25:48
阅读次数:
220
图像ping 1、简介: 图像ping是与服务器进行简单、单向的跨域通信的一种方式,请求的数据是通过查询字符串的形式发送的,而相应可以是任意内容,但通常是像素图或204相应(No Content)。 2、使用方法:var img = new Image();img.onload = img....
分类:
Web程序 时间:
2014-06-14 18:50:48
阅读次数:
330
%%%% 完成PS 中的染色玻璃滤镜特效
clc;
clear all;
close all;
addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm');
Image=imread('4.jpg');
Image=double(Image);
Gray_Image=rgb2gray(Image/...
分类:
其他好文 时间:
2014-06-14 10:39:21
阅读次数:
240
当我们想要使用kindeditor的图片上传功能时,有两种选择图片方式,一种是本地选择,一种是在图片空间中选择,图片空间的默认地址是服务器上的/kindeditor/attached/image/下面。
如果想要改变这个路径,需要找到/kindeditor/php/file_manager_json.php这个文件,然后可以看到下面几行:
//根目录路径,可以指定绝对路径,比如 /var/...
分类:
其他好文 时间:
2014-06-13 21:31:50
阅读次数:
296