H
H
Healis2022-01-16 18:03:19
PHP
Healis, 2022-01-16 18:03:19

How to apply a gradient to an image so that the gradient does not go beyond the edges?

Hello. How to make the gradient not go beyond the edges of the image? It is necessary that the gradient be only in the area in which the picture of the knife. The option for svg is fine too, left svg commented out. (On LAN, the background of the picture is transparent). Thanks in advance, feel free to suggest your implementation. Preferably with a picture.
https://jsfiddle.net/5agb4c1x/4/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivanq, 2015-11-02
@Ivanq

Try changing your browser's encoding first. When you find it, add Header to the code.

V
volucris1, 2022-01-17
@volucris1

In Photoshop, why does the client need extra calculations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question