Images of a captured region from X11 are taken using xcb library (and some its extensions, e.g. xcb-shm) and transformed (scaled, etc.) using Imlib2. Shortcuts and managing windows are also implemented using xcb.
Further, the images are compressed and transferred through the network using a self-made protocol (third-party libraries aren't used on this step). I tried to implement a simple protocol, which considers reader's screen characteristics, and which will be easy to port to other platforms, but, actually, now I don't think that it was a best solution (because its implementation was laborious and doesn't brought considerable benefits).
On the reader the transferred image is drawn using standard Pocketbook API (libinkview). It seems not hard to port the client to another readers.
Last edited by hx0; 02-28-2015 at 01:21 AM.
|