Skip to content

Commit eadff89

Browse files
payload must be base64 encoded. and removed another superfluous paragraph
1 parent b36abeb commit eadff89

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

spec/vt-good-image-protocol.tex

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ \subsection{Upload Image}
255255
\hline
256256
\end{tabular}
257257

258+
The payload's format is mandated by the \verbatim{fmt}'s value. However, since it must not contain
259+
any C0 or C1 escape codes, the transport is further protected by encoding it via Base64.
260+
258261
\subsection{Render Image}
259262

260263
Syntax: \code{DCS id:ID ; x:NUM ; y:NUM ; w:NUM ; h:NUM ; resize:RESIZE ; alignment:ALIGNMENT r ST}
@@ -309,12 +312,6 @@ \section{Support Image Formats} % {{{
309312
PNG & 3 & PNG file format \\
310313
\end{tabular}
311314

312-
\paragraph{}
313-
314-
For file formats RGB and RGBA, the image dimensions needs to be prepended to the image
315-
before sending the payload. Since both file formats are binary, the format for this trivial header
316-
is simply with and height as 32-bit unsigned integer (little endian).
317-
318315
% }}}
319316
\section{References} % {{{
320317

0 commit comments

Comments
 (0)