You are viewing a single comment's thread from:
RE: Php image acceleration and modification - Photon
Thank you for the contribution. It has been approved.
Great post, good mix of code, description and images.
Your code example is missing a crucial part. The image output once processed. What happens after this? $process->process();
- File output?
- Inline use for the img tag?
You can contact us on Discord.
[utopian-moderator]
Hello @helo,
I forgot to mention it, the process method sets header for browsers (as image/jpeg|png|gif) and puts image the content. I will edit when i get back to my pc.
Thanks.