L
L
lolka022019-07-03 14:47:28
Yii
lolka02, 2019-07-03 14:47:28

Is it possible to make such a watermark through yii\imagine\Image?

Text so that you can make it bold or italic, transparent (as in css from 0 to 1), and set the position to be inserted in the lower left corner or right and not at the top

\yii\imagine\Image::text($imagePath, 'test', $fontFile, [50, 50]);

or a picture and also set the transparency from 0 to 1
\yii\imagine\Image::watermark($imagePath, $watermark, [50, 50]);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question