# File lib/gd2/image.rb, line 644
    def polar_transform!(radius)
      raise 'Image must be square' unless width == height
      ptr = SYM[:gdImageSquareToCircle].call(image_ptr, radius)[0]
      raise LibraryError unless ptr
      init_with_image(ptr)
    end