scale display size for image generation