我已经使用CDK将图像拖放到另一个图像上。我想将该图像另存为单个完整图像。
Main Image Code
<div style="text-align: center;" id="capture">
<img src="https://projectnursery.com/wp-content/uploads/2015/12/JCP_9031.jpg" #myImage alt="">
</div>
我要添加到主图像上的图像
<div cdkDrag [cdkDragFreeDragPosition]="dragPosition">
<img
src="https://lh3.googleusercontent.com/proxy/guCKapcJPic4nouOgQi0q74aGRRWcWRbzJZ2psUUO-Li0KhR8ZfQDEptpzCGk56OE1GUO98kAZV3nsxFHRSqyfyoB5uno3Prdeno0ZWwTxe0chPzdbCPA1Q"
height="100px">
<i class="fa fa-times" aria-hidden="true" (click)="changePosition()"></i>
</div>
</div>