Added ImageMagick engine and optional generator argument to constructor.

Missing spaces before and after brackets