Home
last modified time | relevance | path

Searched refs:transparent (Results 1 – 18 of 18) sorted by relevance

/PHP-8.3/ext/gd/tests/
H A Dbug22544-mb.phpt8 $transparent = imageColorAllocate($image, 0, 0, 0);
10 imageColorTransparent($image, $transparent);
11 imageFilledRectangle($image, 0, 0, 640-1, 100-1, $transparent);
H A Dbug22544.phpt8 $transparent = imageColorAllocate($image, 0, 0, 0);
10 imageColorTransparent($image, $transparent);
11 imageFilledRectangle($image, 0, 0, 640-1, 100-1, $transparent);
H A Dbug66005.phpt8 $transparent = imagecolorallocatealpha($dest, 255, 255, 255, 127);
10 imagefill($dest, 1, 1, $transparent);
13 // Palette image with transparent color
16 // 24 bit with transparent color
H A Dbug43828.phpt16 $transparent = imagecolorallocatealpha($im, 255, 255, 255, 80);
17 imagefilledrectangle($im, 0,0, 99,99, $transparent);
H A Dimagecopyresampled_variation1.phpt17 $transparent = imagecolorallocatealpha($im, 200, 0, 100, 64);
22 imagesetpixel($im, $i, $j, ($i%2 != $j%2 ? $solid : $transparent));
H A Dbug72913.phpt14 $transparent = imagecolorallocatealpha($dst, 255, 255, 255, 127);
H A Dbug50194.phpt2 Bug #50194 (imagettftext broken on transparent background w/o alphablending)
/PHP-8.3/ext/gd/libgd/
H A Dgd_rotate.c81 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewX()
82 pxlSrc = dst->transparent; in gdImageSkewX()
172 if (ignoretransparent && pxlSrc == dst->transparent) { in gdImageSkewY()
173 pxlSrc = dst->transparent; in gdImageSkewY()
220 dst->transparent = src->transparent; in gdImageRotate90()
234 if (ignoretransparent && c == dst->transparent) { in gdImageRotate90()
235 gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); in gdImageRotate90()
267 dst->transparent = src->transparent; in gdImageRotate180()
282 if (ignoretransparent && c == dst->transparent) { in gdImageRotate180()
315 dst->transparent = src->transparent; in gdImageRotate270()
[all …]
H A Dgd_png.c140 volatile int transparent = -1; in gdImageCreateFromPngCtx() local
267 transparent = i; in gdImageCreateFromPngCtx()
297 transparent = trans_gray_rgb->gray >> 8; in gdImageCreateFromPngCtx()
299 transparent = trans_gray_rgb->gray; in gdImageCreateFromPngCtx()
327 transparent = gdTrueColor(trans_color_rgb->red >> 8, in gdImageCreateFromPngCtx()
331 transparent = gdTrueColor(trans_color_rgb->red, in gdImageCreateFromPngCtx()
378 im->transparent = transparent; in gdImageCreateFromPngCtx()
502 volatile int transparent = im->transparent; in gdImagePngCtxEx() local
567 if (transparent >= im->colorsTotal || (transparent >= 0 && open[transparent])) { in gdImagePngCtxEx()
568 transparent = -1; in gdImagePngCtxEx()
[all …]
H A Dgd_gd.c47 if (!gdGetInt(&im->transparent, in)) { in _gdGetColors()
54 if (!gdGetWord(&im->transparent, in)) { in _gdGetColors()
57 if (im->transparent == 257) { in _gdGetColors()
58 im->transparent = (-1); in _gdGetColors()
62 GD2_DBG(printf("Palette had %d colours (T=%d)\n", im->colorsTotal, im->transparent)); in _gdGetColors()
220 gdPutInt(im->transparent, out); in _gdPutColors()
H A Dgd_topal.c336 if ((oim->transparent >= 0) && (*ptr == oim->transparent)) in prescan_quantize()
733 if (oim->transparent >= 0) in select_colors()
736 nim->red[nim->colorsTotal] = gdTrueColorGetRed (oim->transparent); in select_colors()
737 nim->green[nim->colorsTotal] = gdTrueColorGetGreen (oim->transparent); in select_colors()
738 nim->blue[nim->colorsTotal] = gdTrueColorGetBlue (oim->transparent); in select_colors()
1167 if ((oim->transparent >= 0) && (oim->transparent == *inptr)) in pass2_no_dither()
1244 if ((oim->transparent >= 0) && (*inptr == oim->transparent)) in pass2_fs_dither()
1492 if (oim->transparent >= 0) in gdImageTrueColorToPaletteBody()
1613 if (oim->transparent >= 0) in gdImageTrueColorToPaletteBody()
1615 nim->transparent = nim->colorsTotal; in gdImageTrueColorToPaletteBody()
H A Dgd_interpolation.c664 if (c == im->transparent) { in getPixelOverflowTC()
679 if (c == im->transparent) { in getPixelOverflowPalette()
1176 const int transparent = im->transparent; in gdImageScaleBilinearPalette() local
1187 if (transparent < 0) { in gdImageScaleBilinearPalette()
1189 new_img->transparent = -1; in gdImageScaleBilinearPalette()
1191 …new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[tra… in gdImageScaleBilinearPalette()
2173 dst->transparent = src->transparent; in gdImageRotateInterpolated()
H A Dgd.c202 im->transparent = (-1); in gdImageCreate()
253 im->transparent = (-1); in gdImageCreateTrueColor()
588 if (c == im->transparent) in gdImageColorResolveAlpha()
646 if (im->transparent != -1) { in gdImageColorTransparent()
651 im->transparent = color; in gdImageColorTransparent()
2274 if (c != src->transparent) { in gdImageCopy()
2284 if (c != src->transparent) { in gdImageCopy()
2875 if (im1->transparent != im2->transparent) { in gdImageCompare()
3127 if (c == src->transparent) { in gdImagePaletteToTrueColor()
3146 if (src->transparent >= 0) { in gdImagePaletteToTrueColor()
[all …]
H A Dgd.h193 int transparent; member
777 #define gdImageGetTransparent(im) ((im)->transparent)
H A Dgd_gif_out.c147 out, tim->sx, tim->sy, interlace, 0, tim->transparent, BitsPerPixel, in _gdImageGifCtx()
H A Dgd_gif_in.c67 int transparent;
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic18277 >>>60 ubelong &0x01 \b, transparent
H A Dmagic私はガラスを食べられます18277 >>>60 ubelong &0x01 \b, transparent

Completed in 171 milliseconds