Image printing supported with FreeImage

The setup is complicated. Hopefully this works. If it says problems with
external definitions then the linker doesn't know where to find the
files. FreeImage.dll should be added to the list of things the linker
checks.