Describe the zlib encoding in terms of the Raw encoding.
Signed-off-by: Peter Rosin <p...@lysator.liu.se>
(I'm not all satisfied with the double reference to zlib...)
Cheers,
Peter
diff --git a/rfbproto.rst b/rfbproto.rst
index 896fb8b..97aa0fe 100644
--- a/rfbproto.rst
+++ b/rfbproto.rst
@@ -1220,6 +1220,7 @@ Number Name
1 `CopyRect Encoding`_
2 `RRE Encoding`_
5 `Hextile Encoding`_
+6 `zlib Encoding`_
16 `ZRLE Encoding`_
-239 `Cursor Pseudo-encoding`_
-223 `DesktopSize Pseudo-encoding`_
@@ -1232,7 +1233,6 @@ Other registered encodings are:
Number Name
=========================== ===========================================
4 CoRRE
-6 zlib
7 tight
8 zlibhex
15 TRLE
@@ -1449,6 +1449,26 @@ least-significant specify the Y position. The
most-significant four
bits of *width-and-height* specify the width minus one, the
least-significant specify the height minus one.
+zlib Encoding
+-------------
+
+The zlib encoding uses zlib [#]_ to compress rectangles encoded
+according to the `Raw Encoding`_. A single zlib "stream" object is used
+for a given RFB connection, so that zlib rectangles must be encoded and
+decoded strictly in order.
+
+.. [#] see http://www.gzip.org/zlib/
+
+=============== =================== ===================================
+No. of bytes Type Description
+=============== =================== ===================================
+4 ``U32`` *length*
+*length* ``U8`` array *zlibData*
+=============== =================== ===================================
+
+The *zlibData*, when uncompressed, represents a rectangle according to
+the `Raw Encoding`_.
+
ZRLE Encoding
-------------
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto