Sounds like a good start. If you want to investigate better RGB <-> CMYK conversion, then the littlecms library is a good choice to do the heavy lifting; it can do accurate conversions between colour spaces defined by ICC profiles.
Yes, great library and easy to use.
A default conversion from sRGB to SWOP-Coated seems to be the combination most houses use when no "proper" profiles are available,
SWOP is fine for US, but Europe, Japan, etc. use different - so you give folks the choice...
and will generally give considerably better results than a [c,m,y]=1-[r,g,b] type algorithm...
MUCH better...
There are also some better algorithms for conversion as well.
LDR -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:leonardr@xxxxxxxxxxxxx> <http://www.lazerware.com>