The imagetocode module

A script to convert icons in png format to code.

Icons in code format can be loaded faster and more easily shipped with compiled code. The script here takes png images and converts them to code which can be imported and used in various graphical interface modules.

Functions

src.dev.imagetocode.generateAdditional(string)[source]

Create a code string for defining the helper methods.

src.dev.imagetocode.run()[source]

Convert icon image files to wxPython-recognizable code.

Table Of Contents

Previous topic

The dev package

Next topic

The instrumenteditor module

This Page