Home
last modified time | relevance | path

Searched refs:new_width (Results 1 – 4 of 4) sorted by last modified time

/PHP-5.6/ext/gd/tests/
H A Dimagecopyresampled_basic.phpt42 $new_width = $width * $percent;
46 $image_sml = imagecreatetruecolor($new_width, $new_height);
47 imagecopyresampled($image_sml, $image_lge, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
/PHP-5.6/ext/gd/libgd/
H A Dgd.h842 gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new…
843 gdImagePtr gdImageScaleBicubic(gdImagePtr src_img, const unsigned int new_width, const unsigned int…
847 gdImagePtr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_…
H A Dgd_interpolation.c1112 _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1133 _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in Scale()
1173 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1184 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1250 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1352 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1491 for (j=0; j < new_width; j++) { in gdImageScaleBicubicFixed()
1742 for (j = 0; j < new_width; j++) { in gdImageRotateNearestNeighbour()
1804 for (j = 0; j < new_width; j++) { in gdImageRotateGeneric()
1858 for (j=0; j < new_width; j++) { in gdImageRotateBilinear()
[all …]
/PHP-5.6/ext/gd/
H A Dgd.c859 ZEND_ARG_INFO(0, new_width)
5176 int new_width, new_height; in PHP_FUNCTION() local
5202 new_width = tmp_w; in PHP_FUNCTION()
5208 im_scaled = gdImageScale(im, new_width, new_height); in PHP_FUNCTION()

Completed in 43 milliseconds