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

Combine with intervention Images #25

Closed
kouloughli-hemza opened this issue Mar 7, 2017 · 3 comments
Closed

Combine with intervention Images #25

kouloughli-hemza opened this issue Mar 7, 2017 · 3 comments

Comments

@kouloughli-hemza
Copy link

Hello , i was Trying to Make blur to image using intervention images then pass to gd text to add text
was wonder if this possible and how to implement the two libraries to work together maybe to achieve what i want

@stil
Copy link
Owner

stil commented Mar 7, 2017

You can save image created with Intervetion and then load it in gd-text. Isn't it enough for your use case?

@kouloughli-hemza
Copy link
Author

i did That , was thinking there is a method to combine the two , what i understand is that intervention images is Able to read result of gd text but gd text cannot do that ,

@stil
Copy link
Owner

stil commented Mar 8, 2017

$data = (string) Image::make('public/bar.png')->encode('png');
$im = imagecreatefromstring($data);
$textBox = new Box($im);

I have never used Intervention, but I think this code should work.

@stil stil closed this as completed Sep 20, 2017
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

No branches or pull requests

2 participants