The following code creates the graphic below (credit to @Schrödinger's cat):
\documentclass[tikz]{standalone}
\usetikzlibrary{matrix}
\tikzset{
numbersrow/.style={
matrix,
matrix of nodes,
nodes in empty cells,
column sep=-\pgflinewidth,
nodes={
minimum size=1.6em,
anchor=center,
draw,
node contents=\the\pgfmatrixcurrentcolumn,
}
}
}
\begin{document}
\begin{tikzpicture}
\node[numbersrow](a){&&&&&&&&&\\};
\draw[->, shorten > =5pt, shorten <=5pt] (a-1-3.center)--(a-1-4.center);
\draw[->, shorten > =5pt, shorten <=5pt] (a-1-4.center)--(a-1-5.center);
\end{tikzpicture}
\end{document}
How could I use this code to create and save as PNG this kind of images in bulk, varying the numbers inside the boxes?
Within each image, the numbers inside the boxes varies from X to X+9. And for each image X is a single integer from 1 to 1000. So I would end up with 1000 different images. Thanks

inkscapeto do that – BambOo May 21 '20 at 19:42