/**
  * The base class constructor
  *
  * @param resource $handle Image handle (GD2 resource)
  */
 function __construct($handle)
 {
     GDImage::assertValidImageHandle($handle);
     $this->handle = $handle;
 }