Markus Teich wrote: > spec > ---- > > Bytes Description > 9 ASCII string: "imagefile" > 2 Width of the image stored in network byte order (big-endian) > 2 Height of the image stored in network byte order (big-endian) > > Then, (width*height) pixels arranged in height scanlines, where each pixel is > four bytes. Each byte represents red, green, blue, and alpha respectively.
Much simpler and better than the original! But sadly, now the header cannot be written from a shell script. :-( Charlie Murphy