/php-src/ext/gd/libgd/ |
H A D | gd_webp.c | 40 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 D | gd_xbm.c | 38 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 D | gd_gif_in.c | 100 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 D | bmp.h | 77 signed int height; member
|
H A D | gd_tga.h | 21 int height; // image height in pixels member
|
H A D | gd_avif.c | 98 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 D | bug67447.phpt | 11 $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 D | bug75124.phpt | 20 for ($j = 0, $height = imagesy($im); $j < $height; $j++) {
|
H A D | libgd00094.xbm | 2 #define height 1073741824
|
H A D | libgd00094私はガラスを食べられます.xbm | 2 #define height 1073741824
|
H A D | bug19366.phpt | 9 $height = 100; 10 $ImHandle = imagecreate($width,$height);
|
H A D | imagecreate_error.phpt | 22 !! [ValueError] imagecreate(): Argument #2 ($height) must be greater than 0
|
H A D | bug53154.phpt | 2 Bug #53154 (Zero-height rectangle has whiskers)
|
H A D | imagecreatetruecolor_error2.phpt | 24 !! [ValueError] imagecreatetruecolor(): Argument #2 ($height) must be greater than 0
|
/php-src/ext/standard/tests/image/ |
H A D | iptcembed_002.phpt | 47 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 D | getimagesize_xbm.phpt | 20 string(22) "width="75" height="50""
|
H A D | bug70052.phpt | 18 string(20) "width="3" height="3""
|
H A D | bug71848.phpt | 17 string(20) "width="8" height="8""
|
H A D | getimagesize_swc.phpt | 24 string(24) "width="550" height="400""
|
H A D | getimagesize_wbmp.phpt | 20 string(22) "width="75" height="50""
|
H A D | bug13213.phpt | 17 string(20) "width="1" height="1""
|
H A D | getimagesize_tif_mm.phpt | 20 string(20) "width="2" height="2""
|
H A D | bug72278.phpt | 19 string(24) "width="300" height="300""
|
H A D | getimagesize_variation4.phpt | 28 string(24) "width="550" height="400""
|
/php-src/ext/gd/ |
H A D | gd.stub.php | 491 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
|