Weird. I thought I had selected "Email all responses, blah blah blah" but never got any. (I get the digest emailed, but don't always read it ;)

I've posted the files at http://www.brianosaurus.org/empeg/

This built against gd 1.8.1. I don't know what the current version is, but unless it changed dramatically, I would expect it works.

gd_empeg.c is the empeg output target. empegtest.c is a test program (go figure) that draws rectangles, circles and text on a gdImage and sends it to the screen. I put the Makefile up for the empegtest and libgd.a targets, where I added gd_empeg.o.

The gdImageEmpegXY() call will update only a portion of the screen. I used that to display output from 2 apps (a CPU meter and an xaudio-based mp3 player) on the screen at the same time, with each updating their portion of the screen. My goal was to make some sort of window manager daemon to update the screen and apps would send their images to it, but never found the time.

I threw in the code for the cpumeter and player, too. Enjoy.