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

Add Arg to support transparent backgroud #128

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

Conversation

Mickeywaugh
Copy link

Update method: setBackgroupdColor()

  • setBackgroundColor($r, $g, $b ,$bgAlpha = 0), sets the background color to force it (this will disable many effects and is not recommended), bgAlpha is the transparency of the background color, 0 is fully opaque, 127 is fully transparent

Mickeywu and others added 2 commits May 1, 2024 10:05
1.Add args[alpha] for setBackgroudColor() in order to generate transparent backgroud png images;
1. update setBackgroundColor method,add bgAlpha arg;
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