JS 构造图片Image对象

var image=new Image();

image.src="";

console.log(image.width);

 

posted @ 2016-05-19 13:33  Danlis  阅读(3061)  评论(0编辑  收藏  举报