Given how memory and process intensive image generation can be, have you considered generating the image outside of the process? Work queues are commonly used for such tasks, where you can hand off the image generation to a worker process, then get notified when the image is ready. See http://www.rabbitmq.com/tutorials/tutorial-two-php.html
On 02/04/2014 03:03 AM, Scott Castillo wrote:
On 02/04/2014 03:03 AM, Scott Castillo wrote:
I am creating an image in the middle of a process. The process uses the imagestring() function a lot. Although everything works, I am getting junk output prior to redirecting back to the page to pick up the image. The process works but I would like the junk output not to appear in the interim. The output has symbols such as the following: F�q ����<� "p� Կ�.--
Would like to suppress the noted symbols.
Any help would be appreciated.
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 comments:
Post a Comment