/php-src/ext/gd/libgd/ |
H A D | gd_bmp.c | 471 BMP_DEBUG(printf("Width: %d\n", info->width)); in gdImageCreateFromBmpCtx() 480 im = gdImageCreate(info->width, info->height); in gdImageCreateFromBmpCtx() 575 !gdGetIntLSB(&info->width, infile) || in bmp_read_windows_v3_info() 635 !gdGetIntLSB(&info->width, infile) || in bmp_read_os2_v2_info() 733 for (xpos = 0; xpos < info->width; xpos++) { in bmp_read_direct() 817 padding = (info->width + 7) / 8 % 4; in bmp_read_1bit() 842 if ((xpos + bit) >= info->width) { in bmp_read_1bit() 887 padding = ((int)ceil(0.5 * info->width)) % 4; in bmp_read_4bit() 913 if (xpos >= info->width) { in bmp_read_4bit() 974 padding = (1 * info->width) % 4; in bmp_read_8bit() [all …]
|
H A D | wbmp.h | 30 int width; /* width of the image */ member 46 Wbmp *createwbmp( int width, int height, int color );
|
H A D | gd_tga.c | 95 image = gdImageCreateTrueColor((int)tga->width, (int)tga->height ); in gdImageCreateFromTgaCtx() 114 for ( x = 0; x < tga->width; x++, tpix++) { in gdImageCreateFromTgaCtx() 164 tga->width = header[12] + (header[13] << 8); in read_header_tga() 175 printf("wxh: %i %i\n", tga->width, tga->height); in read_header_tga() 218 if(overflow2(tga->width, tga->height)) { in read_image_tga() 222 if(overflow2(tga->width * tga->height, pixel_block_size)) { in read_image_tga() 226 image_block_size = (tga->width * tga->height) * pixel_block_size; in read_image_tga()
|
H A D | gd_png.c | 129 png_uint_32 width, height, rowbytes, w, h, res_x, res_y; in gdImageCreateFromPngCtx() local 202 im = gdImageCreateTrueColor((int) width, (int) height); in gdImageCreateFromPngCtx() 204 im = gdImageCreate((int) width, (int) height); in gdImageCreateFromPngCtx() 387 for (w = 0; w < width; w++) { in gdImageCreateFromPngCtx() 400 for (w = 0; w < width; w++) { in gdImageCreateFromPngCtx() 419 for (w = 0; w < width; ++w) { in gdImageCreateFromPngCtx() 492 int width = im->sx; in gdImagePngCtxEx() local 724 *prow_pointers = (png_bytep) safe_emalloc(width, channels, 0); in gdImagePngCtxEx() 727 for (i = 0; i < width; ++i) { in gdImagePngCtxEx() 759 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx() [all …]
|
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() 88 for (x = 0; x < width; x++) { in gdImageCreateFromWebpCtx()
|
H A D | gd_xbm.c | 38 unsigned int width = 0, height = 0; in gdImageCreateFromXbm() local 63 width = (unsigned int) value; in gdImageCreateFromXbm() 79 bytes = (width + 7) / 8 * height; in gdImageCreateFromXbm() 98 if(!(im = gdImageCreate(width, height))) { in gdImageCreateFromXbm()
|
H A D | bmp.h | 74 signed int width; member
|
/php-src/ext/standard/tests/image/ |
H A D | getimagesizefromstring1.phpt | 25 string(23) "width="120" height="67"" 41 string(23) "width="120" height="67""
|
H A D | iptcembed_002.phpt | 47 list($width, $height, $type, $attr) = getimagesize($file,$info); 48 if ($width!=1) { echo "width error".PHP_EOL;exit(1); } 80 list($width, $height, $type, $attr) = $ret; 81 if ($width!=1) { echo "width 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 | getimagesize_256_ico.phpt | 20 string(23) "width="32" height="256""
|
H A D | bug13213.phpt | 17 string(20) "width="1" height="1""
|
/php-src/ext/gd/tests/ |
H A D | bug74435.phpt | 9 $width = imagesx($im); 11 for ($i = 0; $i < $width; $i += 16) {
|
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 | 19 for ($i = 0, $width = imagesx($im); $i < $width; $i ++) {
|
H A D | libgd00094.xbm | 1 #define width 255
|
H A D | libgd00094私はガラスを食べられます.xbm | 1 #define width 255
|
H A D | bug19366.phpt | 8 $width = 50; 10 $ImHandle = imagecreate($width,$height);
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_createFromString_namespaced_attributes.phpt | 11 <svg width="1" xmlns:xlink='http://www.w3.org/1999/xlink'> 31 string(5) "width"
|
/php-src/ext/pcre/tests/ |
H A D | bug80866.phpt | 2 Bug #80866 preg_split ignores limit flag when pattern with \K has 0-width fullstring match
|
/php-src/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 427 function formatArray(array $values, int $width, string $format) : string { argument 436 $result .= $i % $width == 0 ? "\n\t" : " "; 442 function formatShortHexArray(array $values, int $width) : string { argument 443 return formatArray($values, $width, "0x%04x"); 445 function formatShortDecArray(array $values, int $width) : string { argument 446 return formatArray($values, $width, "% 5d"); 448 function formatIntArray(array $values, int $width) : string { argument 449 return formatArray($values, $width, "0x%08x");
|