Conversion to jpeg and cropping to square done