/PHP-8.2/ext/gd/libgd/ |
H A D | gd_transform.c | 22 p = im->pixels[y][x]; in gdImageFlipVertical() 23 im->pixels[y][x] = im->pixels[im->sy - 1 - y][x]; in gdImageFlipVertical() 24 im->pixels[im->sy - 1 - y][x] = p; in gdImageFlipVertical() 54 px1 = im->pixels[y]; in gdImageFlipHorizontal() 55 px2 = im->pixels[y] + im->sx - 1; in gdImageFlipHorizontal()
|
H A D | gd_avif.c | 359 rgb.pixels = NULL; in gdImageCreateFromAvifCtx() 418 uint8_t *p = rgb.pixels; in gdImageCreateFromAvifCtx() 434 if (rgb.pixels) in gdImageCreateFromAvifCtx() 554 p = rgb.pixels; in gdImageAvifCtx() 607 if (rgb.pixels) in gdImageAvifCtx()
|
H A D | gd_color_match.c | 36 color = im2->pixels[y][x]; in gdImageColorMatch()
|
H A D | gd_topal.c | 117 #define output_buf (nim->pixels) 1501 nim->pixels = gdCalloc (oim->sy, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody() 1502 if (!nim->pixels) in gdImageTrueColorToPaletteBody() 1509 nim->pixels[i] = gdCalloc (oim->sx, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody() 1510 if (!nim->pixels[i]) in gdImageTrueColorToPaletteBody() 1636 if (nim->pixels[i]) in gdImageTrueColorToPaletteBody() 1638 gdFree (nim->pixels[i]); in gdImageTrueColorToPaletteBody() 1641 if (nim->pixels) in gdImageTrueColorToPaletteBody() 1643 gdFree (nim->pixels); in gdImageTrueColorToPaletteBody() 1645 nim->pixels = 0; in gdImageTrueColorToPaletteBody()
|
H A D | gd_gd.c | 199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx() 259 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd()
|
H A D | gd_gd2.c | 359 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx() 372 im->pixels[y][x] = chunkBuf[chunkPos++]; in gdImageCreateFromGd2Ctx() 608 im->pixels[y - srcy][x - srcx] = ch; in gdImageCreateFromGd2PartCtx() 770 chunkData[chunkLen++] = im->pixels[y][x]; in _gdImageGd2() 780 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd2()
|
H A D | gd_png.c | 421 im->pixels[h][w] = idx; in gdImageCreateFromPngCtx() 761 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx() 774 png_write_image(png_ptr, im->pixels); in gdImagePngCtxEx()
|
H A D | gd.c | 189 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate() 197 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate() 280 if (im->pixels) { in gdImageDestroy() 282 gdFree(im->pixels[i]); in gdImageDestroy() 284 gdFree(im->pixels); in gdImageDestroy() 821 im->pixels[y][x] = color; in gdImageSetPixel() 987 return im->pixels[y][x]; in gdImageGetPixel() 3115 const unsigned char *src_row = src->pixels[y]; in gdImagePaletteToTrueColor() 3138 gdFree(src->pixels[yy]); in gdImagePaletteToTrueColor() 3140 gdFree(src->pixels); in gdImagePaletteToTrueColor() [all …]
|
H A D | gd.h | 172 unsigned char ** pixels; member 785 #define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
|
H A D | gd_jpeg.c | 259 int idx = im->pixels[i][j]; in _gdImageJpegCtx()
|
H A D | gd_interpolation.c | 678 const int c = im->pixels[y][x]; in getPixelOverflowPalette() 1154 dst_img->tpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); in gdImageScaleNearestNeighbour() 2406 dst_p = dst->pixels[dst_y + y] + dst_x; in gdTransformAffineCopy()
|
H A D | gdft.c | 750 pixel = &im->pixels[y][x];
|
/PHP-8.2/ext/gd/tests/ |
H A D | imagettftext_charmap_order.phpt | 60 printf("SUCCESS %d black pixels\n", $black_pixels); 62 printf("FAIL %d black pixels\n", $black_pixels); 67 SUCCESS %d black pixels
|
H A D | bug50194.phpt | 27 assert(preg_match('/The images are equal|The images differ in (\d+) pixels/', $output, $matches)); 29 echo "The images differ in {$matches[1]} pixels.\n";
|
H A D | bug39508.phpt | 2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
|
H A D | avif_decode_encode.phpt | 52 echo 'How many pixels are different in the two images? '; 73 How many pixels are different in the two images? 0
|
H A D | test_image_equals_file_palette.phpt | 33 The images differ in 25 pixels.
|
H A D | func.inc | 65 * It checks for equal image sizes, and whether any pixels are different. 110 echo "The images differ in {$pixels_changed} pixels.\n";
|
H A D | imagecopyresampled_variation1.phpt | 32 /* assert all pixels have the same color */
|
/PHP-8.2/ext/standard/tests/image/ |
H A D | getimagesize_246x247.phpt | 2 GetImageSize() with 246x247 pixels
|
H A D | getimagesize_384x385.phpt | 2 GetImageSize() with 384x385 pixels
|
/PHP-8.2/ext/gd/ |
H A D | gd.c | 2085 if (im->pixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION() 2086 RETURN_LONG(im->pixels[y][x]); in PHP_FUNCTION()
|
/PHP-8.2/ext/fileinfo/tests/ |
H A D | magic | 6536 # PixelsPerLine is the number of pixels in a scan line of bitmapp 9215 >380 lelong x \b%d pixels 13919 # lightening mask to eliminate pixels, usually 5555h 19320 # object height in pixels 29224 >>>>>>>(104.l+132) string/c cljr Proprietary YUV 4 pixels
|
H A D | magic私はガラスを食べられます | 6536 # PixelsPerLine is the number of pixels in a scan line of bitmapp 9215 >380 lelong x \b%d pixels 13919 # lightening mask to eliminate pixels, usually 5555h 19320 # object height in pixels 29224 >>>>>>>(104.l+132) string/c cljr Proprietary YUV 4 pixels
|