All images for Zabbix map use are stored as SVG in the SVN.

To generate SQL for import, first they are converted to PNG using svg_to_png.sh, then png_to_sql.sh generates proper SQL from all PNG files.
For rackmountable devices and rack images only a few larger sizes are generated, as they don't make much sense at smaller size.

--- svg_to_png.sh dependencies

Inkscape
pngcrush

--- png_to_sql.sh dependencies

hexdump

--- png_to_xml.sh dependencies

base64