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 1×1 -depth 8 t.rgba opaque.png
How to make an opaque PNG
April 16th, 2008
Tags: notes
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 1×1 -depth 8 t.rgba opaque.png
Tags: notes