Home
last modified time | relevance | path

Searched refs:crop (Results 1 – 4 of 4) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgd_crop.c50 dst = gdImageCreateTrueColor(crop->width, crop->height); in gdImageCrop()
52 dst = gdImageCreate(crop->width, crop->height); in gdImageCrop()
57 gdImageCopy(dst, src, 0, 0, crop->x, crop->y, crop->width, crop->height); in gdImageCrop()
86 gdRect crop; in gdImageCropAuto() local
88 crop.x = 0; in gdImageCropAuto()
89 crop.y = 0; in gdImageCropAuto()
141 crop.height = y - crop.y + 2; in gdImageCropAuto()
145 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
157 crop.width = x - crop.x + 2; in gdImageCropAuto()
228 crop.height = y - crop.y + 2; in gdImageCropThreshold()
[all …]
H A Dgd.h876 gdImagePtr gdImageCrop(gdImagePtr src, const gdRectPtr crop);
/PHP-8.2/ext/gd/tests/
H A Dbug77198_threshold.phpt25 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
H A Dbug77198_auto.phpt28 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);

Completed in 23 milliseconds