png2mo5 converts PNG files to Thomson format. The only supported mode is the standard MO5/TO7 one. No bitmap16 and other fun stuff, currently.

Get the source code from my SVN repository and compile it using make. libpng is needed.

It is very easy to use:

png2mo5 [options] input.png output.bin

If you need to extract the separate pages (pixel/color) from the DECB file, you can use binxploder which was designed for this purpose.