Bash func to convert pdf rgb to cmyk