Searched refs:new_width (Results 1 – 4 of 4) sorted by relevance
/PHP-8.2/ext/gd/tests/ |
H A D | imagecopyresampled_basic.phpt | 33 $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.2/ext/gd/libgd/ |
H A D | gd_interpolation.c | 1060 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 D | gd.h | 882 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.2/ext/gd/ |
H A D | gd.c | 3607 int new_width, new_height; in PHP_FUNCTION() local 3637 new_width = tmp_w; in PHP_FUNCTION() 3643 im_scaled = gdImageScale(im, new_width, new_height); in PHP_FUNCTION()
|
Completed in 30 milliseconds