in reply to Output a GIF file with Perl, set width, height and colorin thread On-demand single-pixel GIFs
Makeshifts last the longest.