Process image before display