Just for everyone’s information; there is also an extremely useful tool called “ImageMagick” at www.imagemagick.org
It’s natively a UNIX command line interface but there is a Windows Binary release as well. It has a similar conversion function, where an image can be output as a pixel-by-pixel color list, in RGB.
The current version is 6.2.4 but the author of the software says the next release will support CMYK output as well.