Home
last modified time | relevance | path

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

12345

/php-src/ext/gd/libgd/
H A Dgd_tga.c95 image = gdImageCreateTrueColor((int)tga->width, (int)tga->height ); in gdImageCreateFromTgaCtx()
112 for (y = 0; y < tga->height; y++) { in gdImageCreateFromTgaCtx()
165 tga->height = header[14] + (header[15] << 8); in read_header_tga()
175 printf("wxh: %i %i\n", tga->width, tga->height); in read_header_tga()
221 if(overflow2(tga->width, tga->height)) { in read_image_tga()
225 if(overflow2(tga->width * tga->height, pixel_block_size)) { in read_image_tga()
229 image_block_size = (tga->width * tga->height) * pixel_block_size; in read_image_tga()
H A Dgd_webp.c41 int width, height; in gdImageCreateFromWebpCtx() local
70 if (WebPGetInfo(filedata,size, &width, &height) == 0) { in gdImageCreateFromWebpCtx()
76 im = gdImageCreateTrueColor(width, height); in gdImageCreateFromWebpCtx()
81 argb = WebPDecodeARGB(filedata, size, &width, &height); in gdImageCreateFromWebpCtx()
88 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
/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 34 milliseconds

12345