_crop_image_resource( GD_Resource $img, float $x, float $y, float $w, float $h )


Parameters Parameters

$img

(GD_Resource) (Required)

$x

(float) (Required)

$y

(float) (Required)

$w

(float) (Required)

$h

(float) (Required)


Top ↑

Return Return

(GD_Resource)


Top ↑

Source Source

File: wp-admin/includes/image-edit.php

			case 'image/gif':
				return imagegif( $image, $filename );
			default:
				return false;
		}
	}
}

/**
 * Image preview ratio. Internal use only.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.