I want to create a dynamic GIF, which I can open through browser and at the same time change by adding more frames to it programmatically and the frame immediately reflects on the browser.
Technically this means not closing the GIF image file and adding more frames and the browser keeps taking the new frame and showing it.
But what am observing is that when am adding frames, the GIF size on the disk is not changing and remains 0 bytes until the file handle is closed.
Is it that I have to keep flushing the GIF file so that the bytes value increase even before closing the file handle?