Create base parameter to allow for generation of PDFs under a different domain, for instance when used with Multi Site Manager
Add colorspace parameter to conversion

When converting a CMYK PDF via ImageMagick the resulting JPG also has the CMYK colourspace and so can't be displayed by IE8 (and earlier?). Adding the colorspace parameter should fix this although it may need some fine adjustment to prevent it looking mental.
Merge pull request #2 from fantasticmachine/master

Modification to allow use with Multi Site Manager