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

How to add support for TIFF? #149

Closed
yanhuixie opened this issue Jul 15, 2016 · 3 comments
Closed

How to add support for TIFF? #149

yanhuixie opened this issue Jul 15, 2016 · 3 comments

Comments

@yanhuixie
Copy link

Hello guys~
We have been benefiting from glide. Now we want add support for tiff.
As you all know, gd lib does not support TIFF, but imagick do.
Any suggestion is appreciated. Thanks!

@reinink
Copy link
Contributor

reinink commented Jul 15, 2016

If you want tiff support with Glide, you'll have to use ImageMagick. Glide comes with support for this via the imagick PHP extension. More on drivers here.

$server = League\Glide\ServerFactory::create([
    // Use ImageMagick
    'driver' => 'imagick',
]);

So, I think you answered your own question. 😎

@reinink reinink closed this as completed Jul 15, 2016
@yanhuixie
Copy link
Author

Wow~ Thanks, reinink. Follow your tips, we had solved the problem magically after switched the driver to imagick.

@reinink
Copy link
Contributor

reinink commented Jul 18, 2016

You're quite welcome!

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