Eiffel Matrix Code Generator


The Eiffel Matrix Code Generator is a tool used the building of the EiffelStudio IDE. EiffelStudio makes uses of a number of "matrices", which essentially are a grid of icon images, each left and top padded by one pixel for a visual grid representation, consolidated into a single PNG. The tool consumes a configuration file that is matched to a matrix PNG file and emits Eiffel code to provide named access to each icon in the matrix.

Command-line Options

To see the list of available command-line options and their help information, use the '/?' switch.

More Help

The tool has much more documentation, which includes how to author configuration files and more on what are known as frame files. You'll find a readme.txt, with all of the information you need to help you, in the project root folder.

For examples of configuration files and PNG matrixes, look under https://svn.eiffel.com/eiffelstudio/trunk/Src/Delivery/studio/bitmaps/png. Once checked out you'll notice pair of files named according to the size of each icon in the respective matrix.

  • 10x10.ini <> 10x10.png
  • 12x12.ini <> 12x12.png
  • 16x16.ini <> 16x16.png
  • cursors.ini <> cursors.png

The ini file is the configuration file and the *.png is the respective matrix.

Note: The png matrix is not required for the tool to function, only the configuration ini file is needed.


This tool was developed and maintained by Paulb.

Location: https://svn.eiffel.com/eiffelstudio/trunk/Src/tools/eiffel_matrix_code_generator

Change Log

Change: Application can now generate tiles from a PNG matrix file, given a matrix configuration file. Paulb 02:38, 30 September 2006 (CEST)

Change: Command-line now uses space-separated switch values. Paulb 21:51, 14 September 2006 (CEST)

Initial Entry: Paulb 21:59, 17 August 2006 (CEST)