Home
last modified time | relevance | path

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

/PHP-8.1/ext/gd/tests/
H A Dimagecopyresampled_basic.phpt33 $new_width = $width * $percent;
37 $image_sml = imagecreatetruecolor($new_width, $new_height);
38 imagecopyresampled($image_sml, $image_lge, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
/PHP-8.1/ext/gd/libgd/
H A Dgd_interpolation.c1060 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1105 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1116 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1134 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1236 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1627 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1630 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1683 int new_width, new_height; in gdImageRotateGeneric() local
1698 new_width = bbox.width; in gdImageRotateGeneric()
1755 new_width = bbox.width; in gdImageRotateBilinear()
[all …]
H A Dgd.h882 gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new…
883 gdImagePtr gdImageScaleBicubic(gdImagePtr src_img, const unsigned int new_width, const unsigned int…
887 gdImagePtr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_…
/PHP-8.1/ext/gd/
H A Dgd.c3756 int new_width, new_height; in PHP_FUNCTION() local
3786 new_width = tmp_w; in PHP_FUNCTION()
3792 im_scaled = gdImageScale(im, new_width, new_height); in PHP_FUNCTION()

Completed in 29 milliseconds