$ convert -size 100x100 xc:none transparency.png
July 31, 2013, 11:32 p.m.
—
Janos
Explanation
convert
is a tool that's part of the ImageMagick image manipulation library
-size 100x100
specifies the dimensions of the image to create
xc:none
is a symbolic source image, indicating to convert "from nothing"
transparency.png
is the destination filename, the image format is automatically determined by the extension
Limitations
Requires the ImageMagick image manipulation library.