-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text color #25
Comments
After searching and testing i think i got it to work with rgb and rgba format. First we should modify options array in Watermark Class in Watermark.php file and we add this option as below:
Then create new function in same Watermark class as below: `
Save the file and open ImageCommandBuilder.php file and modify getDuelTextColor function to be like below:
And finally we can use it like this
I hope it help and thanks for this package it's was really helpful for my project and jzak allah kher. |
Hi,
Is there any plan to update this package to have text color functionality?
Actually i tried to change rgba color in this function
getDuelTextColor
but unfortunately it does't work.Can you give me a hand in this if you don't plan to update this package soon.
The text was updated successfully, but these errors were encountered: