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

Diagonal watermark text #476

Open
silakanveli opened this issue May 22, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@silakanveli
Copy link

commented May 22, 2019

Trying to make diagonal background text like watermark to every page. I know that i can make background image via but i would just really want to have plain text and in angle.
Tried to transform: rotate(-90deg); with no Joy.

Help me out buddies. Cheers

@insurgentnl

This comment has been minimized.

Copy link

commented Jun 18, 2019

Any updates on this?
Tried with CSS, but transform:rotate(310deg); is not working
also not working with prefixes -ms and -webkit

Using rotate: 90; works, but that is only for vertical/horizontal and not diagonal

@LittleBigFox

This comment has been minimized.

Copy link
Contributor

commented Jun 19, 2019

Hi!

Personnaly, i use GD for make a diagonal watermark...

$im = \imagerotate($im, 45, $background_color);

Regards,
LBF

@silakanveli

This comment has been minimized.

Copy link
Author

commented Jun 19, 2019

Hi!

Personnaly, i use GD for make a diagonal watermark...

$im = \imagerotate($im, 45, $background_color);

Regards,
LBF

Sure, this is the only way to do it currently. It is just nasty when you have to generate text to image and then rotate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.