Home
last modified time | relevance | path

Searched refs:height (Results 26 – 50 of 116) sorted by relevance

12345

/php-src/ext/gd/libgd/
H A Dgd_webp.c40 int width, height; in gdImageCreateFromWebpCtx() local
69 if (WebPGetInfo(filedata,size, &width, &height) == 0) { in gdImageCreateFromWebpCtx()
75 im = gdImageCreateTrueColor(width, height); in gdImageCreateFromWebpCtx()
80 argb = WebPDecodeARGB(filedata, size, &width, &height); in gdImageCreateFromWebpCtx()
87 for (y = 0, p = argb; y < height; y++) { in gdImageCreateFromWebpCtx()
H A Dgd_xbm.c38 unsigned int width = 0, height = 0; in gdImageCreateFromXbm() local
66 height = (unsigned int) value; in gdImageCreateFromXbm()
79 bytes = (width + 7) / 8 * height; in gdImageCreateFromXbm()
98 if(!(im = gdImageCreate(width, height))) { in gdImageCreateFromXbm()
H A Dgd_gif_in.c100 static void ReadImage (gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256],…
192 int width, height; in gdImageCreateFromGifCtx() local
225 height = LM_to_uint(buf[6], buf[7]); in gdImageCreateFromGifCtx()
227 if (left + width > screen_width || top + height > screen_height) { in gdImageCreateFromGifCtx()
234 if (!(im = gdImageCreate(width, height))) { in gdImageCreateFromGifCtx()
243 ReadImage(im, fd, width, height, localColorMap, in gdImageCreateFromGifCtx()
250 ReadImage(im, fd, width, height, in gdImageCreateFromGifCtx()
557 ReadImage(gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlac… in ReadImage() argument
623 if (ypos >= height) { in ReadImage()
640 if (ypos >= height) in ReadImage()
H A Dbmp.h77 signed int height; member
H A Dgd_tga.h21 int height; // image height in pixels member
H A Dgd_avif.c98 imageArea = rgb->width * rgb->height; in setEncoderTilesAndThreads()
111 if (rgb->width >= rgb->height) { in setEncoderTilesAndThreads()
402 im = gdImageCreateTrueColor(decoder->image->width, decoder->image->height); in gdImageCreateFromAvifCtx()
414 for (y = 0; y < decoder->image->height; y++) { in gdImageCreateFromAvifCtx()
538 for (y = 0; y < rgb.height; y++) { in gdImageAvifCtx()
/php-src/ext/gd/tests/
H A Dbug67447.phpt11 $cropped = imagecrop($image, ['x' => 0, 'y' => 0, 'width' => 250, 'height' => 250]);
21 $cropped = imagecrop($image, ['x' => 0, 'y' => 0, 'width' => 250, 'height' => 250]);
H A Dbug75124.phpt20 for ($j = 0, $height = imagesy($im); $j < $height; $j++) {
H A Dlibgd00094.xbm2 #define height 1073741824
H A Dlibgd00094私はガラスを食べられます.xbm2 #define height 1073741824
H A Dbug19366.phpt9 $height = 100;
10 $ImHandle = imagecreate($width,$height);
H A Dimagecreate_error.phpt22 !! [ValueError] imagecreate(): Argument #2 ($height) must be greater than 0
H A Dbug53154.phpt2 Bug #53154 (Zero-height rectangle has whiskers)
H A Dimagecreatetruecolor_error2.phpt24 !! [ValueError] imagecreatetruecolor(): Argument #2 ($height) must be greater than 0
/php-src/ext/standard/tests/image/
H A Diptcembed_002.phpt47 list($width, $height, $type, $attr) = getimagesize($file,$info);
49 if ($height!=1) { echo "height error".PHP_EOL;exit(1); }
80 list($width, $height, $type, $attr) = $ret;
82 if ($height!=1) { echo "height error".PHP_EOL;exit(1); }
H A Dgetimagesize_xbm.phpt20 string(22) "width="75" height="50""
H A Dbug70052.phpt18 string(20) "width="3" height="3""
H A Dbug71848.phpt17 string(20) "width="8" height="8""
H A Dgetimagesize_swc.phpt24 string(24) "width="550" height="400""
H A Dgetimagesize_wbmp.phpt20 string(22) "width="75" height="50""
H A Dbug13213.phpt17 string(20) "width="1" height="1""
H A Dgetimagesize_tif_mm.phpt20 string(20) "width="2" height="2""
H A Dbug72278.phpt19 string(24) "width="300" height="300""
H A Dgetimagesize_variation4.phpt28 string(24) "width="550" height="400""
/php-src/ext/gd/
H A Dgd.stub.php491 function imagecreatetruecolor(int $width, int $height): GdImage|false {} argument
503 function imagefilledellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, … argument
505 function imagefilledarc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int … argument
541 function imagecreate(int $width, int $height): GdImage|false {} argument
590 function imagecreatefromgd2part(string $filename, int $x, int $y, int $width, int $height): GdImage… argument
676 function imagearc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start… argument
678 function imageellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $c… argument
770 function imagescale(GdImage $image, int $width, int $height = -1, int $mode = IMG_BILINEAR_FIXED): … argument

Completed in 33 milliseconds

12345