Imgtool is used to access files stored in native disk images. For example, you can manipulate Apple II disks and extract files, or rename a file on a VZ200 disk.
To add support for a new format, you have to write an imgtool module. Those modules implement various functions that are then called by imgtool to perform the specific task. Those functions are:
Helper functions that are available to the imgtool modules are: