本月博客排行
-
第1名
青否云后端云 -
第2名
e_e -
第3名
vipbooks - silverend
- lemonhandsome
- ajinn
- jveqi
- kingwell.leng
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- ranbuijj
- gdpglc
- ssydxa219
- wallimn
- vipbooks
- 淡看人生
- hanbaohong
- jickcai
- javashop
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- lyongq04
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- panshunchang
- ouanui
最新文章列表
图片处理:圆角、倒影
效果图:
[img]
[/img]
这里需要的图片是手机壁纸
main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
...
Image对象
HTML DOM Image 对象
-----代表嵌入的图像。
<img>标签每出现一次,一个Image对象就会被创建。
Image对象的事件句柄:
1、onload ------当图像装载完毕时调用的事件句柄。
2、onerror ------在装载图像的过程中发生错误时调用的事件句柄。
Image to Buffer
private byte[] getPhoto()
throws Exception {
final String ICON_EXT = "png";
String file ="D:\\workspace\\OSL\\trunk\\learning-tool\\Web\\public_html\\images\\chart.png&q ...
移动web获取image的实际宽高的问题
移动设备如ipad,android手机,ipod等,通过
imgCopy = new Image();
imgCopy.onload = getSize;
imgCopy.src = image.src;
来获取image的宽高。在电脑上OK但是在移动设备上宽高会变成一半。最好自己乘上2.或者指定实际宽高。
//强制图片的宽高。否则会根据实际设备缩放。
imgCopy.width = 3309;
i ...
图片的左右移动、旋转及放大缩小
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/iamgeid"
androi ...
css 图片 局部 清晰(矩形)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" ...
Chinese in the eyes of the African people
Chinese in the eyes of the African people
By Liu Zhirong
I spent the last few years in Africa in close contact with African people from all walks of life.
What do they think of the Chinese people, ...
php绘图(花),饼图
header("Content-type:image/png");//向浏览器输出文件头
$im=imagecreate(400, 400);
$yellow=imagecolorallocate($im, 255, 255, 180);
$blue=imagecolorallocate($im, 0,0,255);
$red=imagecolorallocate($ ...
[image]base64图片二进制,序列与反序列
图片数据Base64编解码(java实现)
package com.vista.test;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
im ...