M
M
Michael2020-11-14 14:58:58
css
Michael, 2020-11-14 14:58:58

How to crop an image to a complex shape?

First I wonder if it's possible to put another image inside the svg like a mask in photoshop.

I have this shape saved as svg:
5fafc54f07d8d835506810.png

I want to crop the photo along this path so that it doesn't go out of bounds.
That is, the image is superimposed on this figure.

Of the examples on the Internet, I found only how svg is superimposed on top of png images and simply overlaps part of the picture.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
A person from Kazakhstan, 2020-11-15
@Misha5

I argued a little - but for example I will show

A
Aidrei, 2020-11-14
@Aidrei

crop the image along the contour in photoshop and save it as png and paste png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question