Skip to content

Commit a656c73

Browse files
flip 2 sections
1 parent 1292f31 commit a656c73

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

spec/vt-good-image-protocol.tex

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,6 @@ \section{Motivation} % {{{
6060
as well as client side, yet allowing future extensions to this protocol
6161
without breaking compatibility to existing implementations.
6262

63-
% }}}
64-
\section{Requirements} % {{{
65-
66-
\begin{enumerate}
67-
\item \textbf{Deterministic emulation} - The image rendering must not be affected by font size or similar properties.
68-
\item \textbf{Synchronous operations by default} - No asynchronous operations unless explicitly requested.
69-
\item \textbf{Remote-terminal capable} - No dependency on the local host, such as the local file system.
70-
\item \textbf{Preserve aspect ratio by default}
71-
\item \textbf{Upload and Render seperation} - Image upload must be decoupled from image display
72-
\item \textbf{Support for rendering tiles of an image} - Adding the ability to only render tiles
73-
of an image greatly assists client applications when only rendering parts of an image is
74-
needed (such as in multiplexers).
75-
\item \textbf{Protocol forward-compatibility} - the protocol must be easily extendable in input
76-
parameters as well as reusability of the image storage pool
77-
(such as icon-display, desktop-notifications, background images)
78-
\item \textbf{Feature detectability} - The image protocl must be easily detectable by well known techniques.
79-
\end{enumerate}
80-
81-
\paragraph*{}
82-
83-
The document at [\ref{ref:twg-gip}] suggests cell based masking for rendering to help rendering more
84-
complex scenes such as in windowed TUI applications or terminal multiplexers.
85-
However, the same can be achieved with a sequence of Image-Render commands specifying a
86-
sub-rectangle to be rendered of the referenced image.
87-
8863
% }}}
8964
\section{Prior art and current state} % {{{
9065

@@ -152,6 +127,31 @@ \subsection{Kitty image protocol}
152127
\item Hard coded image storage pool to 320 MB (per screen buffer).
153128
\end{itemize}
154129

130+
% }}}
131+
\section{Requirements} % {{{
132+
133+
\begin{enumerate}
134+
\item \textbf{Deterministic emulation} - The image rendering must not be affected by font size or similar properties.
135+
\item \textbf{Synchronous operations by default} - No asynchronous operations unless explicitly requested.
136+
\item \textbf{Remote-terminal capable} - No dependency on the local host, such as the local file system.
137+
\item \textbf{Preserve aspect ratio by default}
138+
\item \textbf{Upload and Render seperation} - Image upload must be decoupled from image display
139+
\item \textbf{Support for rendering tiles of an image} - Adding the ability to only render tiles
140+
of an image greatly assists client applications when only rendering parts of an image is
141+
needed (such as in multiplexers).
142+
\item \textbf{Protocol forward-compatibility} - the protocol must be easily extendable in input
143+
parameters as well as reusability of the image storage pool
144+
(such as icon-display, desktop-notifications, background images)
145+
\item \textbf{Feature detectability} - The image protocl must be easily detectable by well known techniques.
146+
\end{enumerate}
147+
148+
\paragraph*{}
149+
150+
The document at [\ref{ref:twg-gip}] suggests cell based masking for rendering to help rendering more
151+
complex scenes such as in windowed TUI applications or terminal multiplexers with overlaying contents.
152+
However, the same can be achieved with a sequence of Image-Render commands specifying a
153+
sub-rectangle to be rendered of the referenced image.
154+
155155
% }}}
156156
\section{Backwards Compatibility} % {{{
157157

0 commit comments

Comments
 (0)