Return None if image is empty.