Layer

The layer Conversion Utility
Download

Layer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Zoetrope
  • Operating Systems:
  • Windows All
  • File Size:
  • 5 KB

Layer Tags


Layer Description

Layer application was developed to be a command line utility written in C#. It can convert a .PNG file to a .LAY file and back. For example, if we invoke layer as follows: layer image.png it will create a new file “image.lay”. We can convert image.lay back to a .PNG file like this: layer image.lay There are many bitmap image formats in use but almost all require a library to read and write the data because of the complexity of the format. The Layer File Format is a very simple file format so that it is not necessary to use a separate library. Programmers can read and write the data in a few lines of code. A Layer image is a rectangular pixel array with pixels appearing left-ro-right within each scanline and scanlines appearing top-to-bottom. The size of each pixel is 32 bits. The first four bytes of a Layer file always contain the width of the image. The next four bytes contain the height of the image. Width and height give the image dimensions in pixels. They are 4-byte signed integers. The maximum for each is 231-1 in order to accomodate languages that have difficulty with unsigned 4-byte values. The width and height are in network byte order: the most significant byte comes first, then the less significant bytes in descending order of significance. The height is followed by the actual image data. Each pixel is an R,G,B,A quadruple.


Layer Related Software