• imgtool's getpub can print the output to a file