Implement Image ScaleType.