Home
last modified time | relevance | path

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

/PHP-8.1/ext/gd/tests/
H A Dimagecopyresampled_basic.phpt34 $new_height = $height * $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.c1101 for (i=0; i<new_height; i++) { in gdImageScaleNearestNeighbour()
1135 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1237 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1369 for (i=0; i < new_height; i++) { in gdImageScaleBicubicFixed()
1627 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1631 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1683 int new_width, new_height; in gdImageRotateGeneric() local
1699 new_height = bbox.height; in gdImageRotateGeneric()
1756 new_height = bbox.height; in gdImageRotateBilinear()
1874 new_height = bbox.height; in gdImageRotateBicubicFixed()
[all …]
H A Dgd.h882 …r gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height);
883 …ImageScaleBicubic(gdImagePtr src_img, const unsigned int new_width, const unsigned int new_height);
887 …tr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height);
/PHP-8.1/ext/gd/
H A Dgd.c3756 int new_width, new_height; in PHP_FUNCTION() local
3787 new_height = tmp_h; in PHP_FUNCTION()
3792 im_scaled = gdImageScale(im, new_width, new_height); in PHP_FUNCTION()

Completed in 30 milliseconds