window.check=function(){
var input = document.getElementById("file");
if(input.files){
//读取图片数据
var f = input.files[0];
var reader = new FileReader();
reader.
第一种:
$("") // Make in memory copy of image to avoid css issues
.attr("src", $(""#imgid").attr("src"))
.load(function() {
pic_real_width = this.width; // No