Skip to content
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 Function #16

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Text Function #16

wants to merge 7 commits into from

Conversation

murtaja
Copy link

@murtaja murtaja commented Feb 5, 2019

Added function for gdImageStringFT print text on image with Font, color, size and position option
I changed border settings on your file Y eg. "wdy = (int)dst->sy - watermark->sy; /* Removed -10 problem for me */ "

Added Textfunction with watermark
        image_filter_watermark_text "SomeText";
        image_filter_watermark_font "/tmp/font.TTF";  #Optional Font file
        image_filter_watermark_size 30; #Optional Font Size
        image_filter_watermark_colorR "88"; #Optional RBG COLOR
        image_filter_watermark_colorB "88"; #Optional RBG COLOR
        image_filter_watermark_colorG "88"; #Optional RBG COLOR
@murtaja
Copy link
Author

murtaja commented Feb 6, 2019

Thanks lot for this patch really needed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant