Searched refs:new_width (Results 1 – 4 of 4) sorted by relevance
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_interpolation.c | 1056 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass() 1101 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour() 1112 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour() 1178 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette() 1280 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC() 1673 int new_height, new_width; in gdImageRotateNearestNeighbour() local 1676 new_width = bbox.width; in gdImageRotateNearestNeighbour() 1729 int new_width, new_height; in gdImageRotateGeneric() local 1744 new_width = bbox.width; in gdImageRotateGeneric() 1801 new_width = bbox.width; in gdImageRotateBilinear() [all …]
|
H A D | gd.h | 853 gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new… 854 gdImagePtr gdImageScaleBicubic(gdImagePtr src_img, const unsigned int new_width, const unsigned int… 858 gdImagePtr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_…
|
/PHP-7.3/ext/gd/tests/ |
H A D | imagecopyresampled_basic.phpt | 41 $new_width = $width * $percent; 45 $image_sml = imagecreatetruecolor($new_width, $new_height); 46 imagecopyresampled($image_sml, $image_lge, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
|
/PHP-7.3/ext/gd/ |
H A D | gd.c | 827 ZEND_ARG_INFO(0, new_width) 4749 int new_width, new_height; in PHP_FUNCTION() local 4777 new_width = tmp_w; in PHP_FUNCTION() 4783 im_scaled = gdImageScale(im, new_width, new_height); in PHP_FUNCTION()
|
Completed in 29 milliseconds