Answer the question
In order to leave comments, you need to log in
How to change a specific vendor in symfony?
Can you please tell me how to "add" the desired function to the vendor? There is an Imagine library - I studied it for a long time, and came to the conclusion that it actually does not work with transparency. The same watermark is superimposed without transparency. I came to the conclusion that in addition to the standard paste method that imagecopy uses, you need to make a copy of it, in which Zahardkodil used the GD imagecopymerge
function in the vendor, which is not good. I'm not sure that the Imagine developers will include this in their code, since they seem to have discussed a similar issue for a very long time.
How correctly to implement similar "addition" in the code?
Answer the question
In order to leave comments, you need to log in
Fork the vendor, do what you want in your fork, and then use your fork ( indicating your fork in composer.json in the repositories section ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question