[Home]

My TSA Logo Submission

TSA Logo

This logo was made using PostScript and rendered using ImageMagick. Provided you have ImageMagick installed and on your path on Linux, macOS, or another Unix-like operating system, you can use this script to generate renderings. Usage:

./TSAlogo-embedded.sh <side length in pixels>

The default is 512, and the script outputs to TSAlogo.png.

PostScript Source (TSAlogo.ps)

%!PS
% Scale so default page has width of 6
102 102 scale
% Draw debug line
0.02 setlinewidth
0 0 0 setrgbcolor
0 6.01 moveto
6 6.01 lineto
stroke
% Fill background
1 1 1 setrgbcolor
0 0 moveto
6 0 lineto
6 6 lineto
0 6 lineto
fill
% Draw arrow/top part of symbol
1 setlinewidth
.16 .71 .98 setrgbcolor
2 4.5 moveto
2 3 lineto
stroke
0.5 4 moveto
2 5 lineto
3.5 4 lineto
stroke
% Draw T/bottom part of symbol
.96 .46 .62 setrgbcolor
0.5 2.5 moveto
3.5 2.5 lineto
stroke
2 2 moveto
2 0.5 lineto
stroke
% Draw A
0.5 setlinewidth
.16 .71 .98 setrgbcolor
3.5 0.4 moveto
4.5 3 lineto
5.5 0.4 lineto
3.7 1.25 moveto
5.2 1.25 lineto
stroke
% Clean up A
1 1 1 setrgbcolor
3 0.25 moveto
6 0.25 lineto
stroke
1 setlinewidth
4 3.5 moveto
5 3.5 lineto
stroke
% Draw S
0.5 setlinewidth
.96 .46 .62 setrgbcolor
4.5 4.9 0.55 -0.5 270.5 arc
stroke
4.5 3.8 0.55 -180.5 90.5 arc
stroke

Render Script (TSAlogo.sh)

1
2
3
4
5
6
7
#!/bin/sh
if [ -z "$1" ]; then
    scale=512
else
    scale="$1"
fi
convert TSAlogo.ps -crop 612x612+0+180 -scale "$scale" TSAlogo.png

Same usage as TSAlogo-embedded.sh, but TSAlogo.ps must be in the current working directory.