How to make an opaque PNG

Needed an alpha channel PNG, didn’t want to fire up any real editor.

echo -n 'ccca' | tr ca '\377\200' > t.rgba
convert -size 1x1 -depth 8 t.rgba opaque.png