Added imageSmoothing flag.