<?php imagesy(GdImage $image): int
<?php { $this->setOutput(new Size( imagesx($image->getCore()), imagesy($image->getCore()) )); return true;
<?php public function gdResourceToTruecolor(&$resource) { $width = imagesx($resource); $height = imagesy($resource); $canvas = imagecreatetruecolor($width, $height);
<?php public function cloneCore($core) { $width = imagesx($core); $height = imagesy($core); $clone = imagecreatetruecolor($width, $height); imagealphablending($clone, false); imagesavealpha($clone, true);
<?php public static function castGd($gd, array $a, Stub $stub, bool $isNested) { $a['size'] = imagesx($gd).'x'.imagesy($gd); $a['trueColor'] = imageistruecolor($gd); return $a;