Hi, I am trying to implement a script which gives the number of colors in a .ps file : I've tried to parse the file and use grep, but it doesn't seem to be the best solution... I think we could do better using GhostScript but I don't know really how to do. Has anyone tried doing this ? Is there other best practices ? Thanks, Nicolas Leter