如何在javascript中将剪辑从img复制到另一个img [英] how can i copy a clip from an img to another img in javascript
本文介绍了如何在javascript中将剪辑从img复制到另一个img的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
例如我有一个100像素X 60px in img的图像,id =''img1''
hi
for example i have an image with 100px X 60px in img with id=''img1''
<img src="./a.jpg"/>
现在我想将我的img中的剪辑复制到另一个img
但是我不知道我该怎么做
谢谢你
now i''d like to copy a clip from my img to another img
but i don''t know how can i do that
thank you
推荐答案
你不能用javascript操纵图像。
You can''t manipulate images in javascript.
这篇关于如何在javascript中将剪辑从img复制到另一个img的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文