Home
last modified time | relevance | path

Searched refs:width (Results 26 – 50 of 142) sorted by relevance

123456

/php-src/ext/gd/libgd/
H A Dgd_bmp.c471 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 Dwbmp.h30 int width; /* width of the image */ member
46 Wbmp *createwbmp( int width, int height, int color );
H A Dgd_tga.c95 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 Dgd_png.c129 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 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()
88 for (x = 0; x < width; x++) { in gdImageCreateFromWebpCtx()
H A Dgd_xbm.c38 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 Dbmp.h74 signed int width; member
/php-src/ext/standard/tests/image/
H A Dgetimagesizefromstring1.phpt25 string(23) "width="120" height="67""
41 string(23) "width="120" height="67""
H A Diptcembed_002.phpt47 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 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 Dgetimagesize_256_ico.phpt20 string(23) "width="32" height="256""
H A Dbug13213.phpt17 string(20) "width="1" height="1""
/php-src/ext/gd/tests/
H A Dbug74435.phpt9 $width = imagesx($im);
11 for ($i = 0; $i < $width; $i += 16) {
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.phpt19 for ($i = 0, $width = imagesx($im); $i < $width; $i ++) {
H A Dlibgd00094.xbm1 #define width 255
H A Dlibgd00094私はガラスを食べられます.xbm1 #define width 255
H A Dbug19366.phpt8 $width = 50;
10 $ImHandle = imagecreate($width,$height);
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_createFromString_namespaced_attributes.phpt11 <svg width="1" xmlns:xlink='http://www.w3.org/1999/xlink'>
31 string(5) "width"
/php-src/ext/pcre/tests/
H A Dbug80866.phpt2 Bug #80866 preg_split ignores limit flag when pattern with \K has 0-width fullstring match
/php-src/ext/mbstring/ucgendat/
H A Ducgendat.php427 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");

Completed in 43 milliseconds

123456