Simplify image reading