[PHP, GIF] for more information, please refer to this tutorial. is this idea pure YY or theoretically feasible?
Source: Internet
Author: User
[PHP, GIF] Could you tell me whether the idea is purely YY or theoretically feasible? This post was last edited by xlrtx at 2013-05-1314: 13: 52. I personally think that gif files are transmitted frame by frame (not verified, but the gif images on the webpage are loaded frame by frame) [PHP, GIF] Could you tell me whether the idea is purely YY or theoretically feasible?
The Post was last edited by xlrtx at 14:13:52. I personally think that gif files are transmitted frame by frame (not verified, but the gif images are loaded frame by frame)
Can I write a program to dynamically generate image frames based on the user's response?
For example
User --- get a.gif -------------> Server
User <---a.gif: frame1 ---------- server
User <---a.gif: frame2 ---------- server
User <---a.gif: frame3 ---------- server
User-post gif. php? Str = "test"-> Server
User <---a.gif: frame4 ---------- the image after the server // frame4 contains the text "test"
User <---a.gif: frame5 ---------- server
User <---a.gif: frame6 ---------- server
User-post gif. php? Str = "hi" ---> Server
User <---a.gif: frame7 ---------- the image after the server // frame7 contains the text "hi"
User <---a.gif: frame8 ---------- server
.....
User <---a.gif: frameN ---------- server
Keep the response of this gif file continuously open throughout the process. can the user's request be dynamically displayed?
Can this be done theoretically?
If php cannot implement cgi, you can also ..
The language is not a problem. The key is whether the gif file format meets this requirement.
The following is a big explanation of the gif file format:
------ Solution --------------------
Gif is packed with multiple frames, but can be displayed as long as the complete frame is received.
But you cannot intervene in the gif decoding process.
Although gif is not as feasible as you think, your overall solution is feasible.
However, the user uploads images or text, assembles the image on the server side, and returns the gif image.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.