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

Stream image #6

Open
renege opened this issue Mar 6, 2014 · 2 comments
Open

Stream image #6

renege opened this issue Mar 6, 2014 · 2 comments

Comments

@renege
Copy link

renege commented Mar 6, 2014

Is there a way to stream the image, when I set the response to set the header to content-type: image/jpeg? So i don't have to save it somewhere.

@DenBeke
Copy link

DenBeke commented Jul 26, 2015

+1

@DenBeke
Copy link

DenBeke commented Jul 26, 2015

This library uses Intervention Image underneath.

So you can use the API of that particular library to stream the image instead of saving it:

$image->drawText();
echo $image->image->response();

http://image.intervention.io/api/response

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