image constrains