Simplifying and converting to image