2 ms·
I did something similar for cheap (insecure) desktop streaming a few years ago. Roughly, use scrot (or similar screen capturing command line tool) to take a sc
by richthegeek 14y ago
I did something similar for cheap (insecure) desktop streaming a few years ago.
Roughly, use scrot (or similar screen capturing command line tool) to take a screenshot of the desktop and then encode it into a gif frame. Repeat once per second. Boom, your desktop is now a gif.
The main problem with this approach is that transmitting stuff via gif (low-color bitmaps, remember) is painfully slow even with modern internet.
That said, could probably be very useful in some instances!
- dbaupp 14y agoIt is possible to do some interframe compression with gifs[1], so one can potentially reduce the data sent significantly, especially if one is typing or not changing the whole screen. (And gifs aren't "just" bitmaps, they have some compression[2].) [1]: "Some economy of data is possible where a frame need only rewrite a portion of the pixels of the display, because the Image Descriptor can define a smaller rectangle to be rescanned instead of the whole image." https://en.wikipedia.org/wiki/Graphics_Interchange_Format#Animated_GIF https://en.wikipedia.org/wiki/Graphics_Interchange_Format#An... [2]: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Wel...