xtaran / amora-test3

Automatically exported from code.google.com/p/amora
0 stars 0 forks source link

Selected window thumbnail preview #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a *macro* ticket, since it involves lots of work, and probably will
need to be further divided in smaller tickets.

The basic idea is being able to see in cellphone a thumbnail of current X
window (that's it, the window in focus).

This is a very nice feature, since amora client user could do a slide
presentation without looking for slide projector.

== Server side ==

 * Capture a screenshot of active window

 * Resize it properly to fit cellphone screen

 * Compress it to save bluetooth bandwidth usage (JPEG like is
enough)

 * Send it to cellphone

== Client side ==

 * Receive a stream of bytes representing the image

 * Put it in an Image object

 * Blit it to screen

Probably each step will require a different ticket in order to be executed.

Since I'm no X server wizard, I'm willing to hear comments about the server
side programming.

Original issue reported on code.google.com by cavalcan...@gmail.com on 18 Jul 2007 at 2:49

GoogleCodeExporter commented 9 years ago
I did some research and discovered a really nice library: imlib2.

It can make really easy to get a screenshot of a X window.

Original comment by cavalcan...@gmail.com on 21 Aug 2007 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by cavalcan...@gmail.com on 21 Aug 2007 at 7:30

GoogleCodeExporter commented 9 years ago
Added some code to screenshot creation (check commit number 151).

Original comment by cavalcan...@gmail.com on 29 Aug 2007 at 3:50

GoogleCodeExporter commented 9 years ago
Basic functionality is completed in r186. Needs more testing and I also have 
another
ideas, but for while I'm going to close this ticket since the task is done.

Original comment by cavalcan...@gmail.com on 31 Aug 2007 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by cavalcan...@gmail.com on 31 Aug 2007 at 1:17