add defineOutputResolution