take_image_square_and_root