<?php/**name:娄喜贺*/classMyUpload{ private$saveName;//保存名 private$tmpPath;//临时保存路径 private$savePath;//保存路径 private$fileFormat=array(‘gif‘,‘jpg‘,‘png‘,‘doc‘,‘application/octet-stream‘);//文件格式&MIME限定 private$overwrite=0;//覆盖模式 ..
分类:
Web程序 时间:
2014-10-30 17:20:06
阅读次数:
293
<?php/**name:娄喜贺*/classMyUpload{var$saveName;//保存名var$tmpPath;//临时保存路径var$savePath;//保存路径var$fileFormat=array(‘gif‘,‘jpg‘,‘png‘,‘doc‘,‘application/octet-stream‘);//文件格式&MIME限定var$overwrite=0;//覆盖模式var$maxSize=0;//文件最大字..
分类:
Web程序 时间:
2014-10-30 17:19:36
阅读次数:
287
原文地址【http://www.w3cfuns.com/blog-5402109-5400903.html】1、鼠标放在圆形图片中,图片渐渐的变方形【17素材头像的特效,觉得不错就研究下来了 ————17sucai.com】img{border-radius:50%;transition: all ...
分类:
Web程序 时间:
2014-10-13 18:15:31
阅读次数:
209
调用:(bt是Bitmap)head_portrait.setImageBitmap(ToRoundBitmap.toRoundBitmap(bt));转换圆形的方法: 1 package com.ghp.tools; 2 3 import android.graphics.Bitmap; 4 i....
分类:
其他好文 时间:
2014-10-11 14:22:55
阅读次数:
224
1、鼠标放在圆形图片中,图片渐渐的变方形【17素材头像的特效,觉得不错就研究下来了 ————17sucai.com】img{border-radius:50%;transition: all .4s ease-out;}a:hover img{border-radius:0px;}2、当鼠标放到菜单...
分类:
Web程序 时间:
2014-10-08 17:41:05
阅读次数:
251
1、鼠标放在圆形图片中,图片渐渐的变方形【17素材头像的特效,觉得不错就研究下来了 ————17sucai.com】img{border-radius:50%;transition: all .4s ease-out;}a:hover img{border-radius:0px;}2、当鼠标放到菜单...
分类:
Web程序 时间:
2014-10-08 13:55:45
阅读次数:
224
http://blog.csdn.net/isming/article/details/39404407
分类:
移动开发 时间:
2014-09-20 09:57:27
阅读次数:
146
在开发中经常会有一些需求,比如显示头像,显示一些特殊的需求,将图片显示成圆角或者圆形或者其他的一些形状。但是往往我们手上的图片或者从服务器获取到的图片都是方形的。这时候就需要我们自己进行处理,将图片处理成所需要的形状。正如茴香豆的的“茴”写法大于一种,经过我的研究,画出特殊图片的方法也不是一种,我发现了三种,且听我一一道来。...
分类:
移动开发 时间:
2014-09-19 23:58:36
阅读次数:
443