更改图片大小:
例子:
<img src="340.jpg" name=img>
<input type="button" value="80%" onclick="document.img.width=document.img.width*0.8">
例子:
<img src="340.jpg" name=img>
<input type="button" value="80%" onclick="document.img.width=document.img.width*0.8">
比如说a.jpg,大小是1024*768,现在通过程序把它改成800*600,并且生成新文件b.jpg
这个问题解决不了
帮忙结贴!