Aprendiendo a traducir con los ejemplos de traducciones humanas.
De traductores profesionales, empresas, páginas web y repositorios de traducción de libre uso.
imagecolorallocate() returns a color identifier representing the color composed of the given rgb components.
(php 3, php 4)
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
$white = imagecolorallocate ($im, 255, 255, 255); imagecolordeallocate ($im, $white);
関数 imagecolordeallocate() は、関数 imagecolorallocate() で確保された色を開放します。
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
these parameters are integers between 0 and 255. imagecolorallocate() must be called to create each color that is to be used in the image represented by image.
imagecolorallocate() は、指定した rgb を配色とする色の色idを返します。 引数 im は imagecreate() 関数から 返されたものです。 imagecolorallocate() は im で表される 画像上で使用される各々の色を作成する際にコールする必要があります。
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
imagecolortransparent() sets the transparent color in the image image to color. image is the image identifier returned by imagecreate() and color is a color identifier returned by imagecolorallocate().
(php 3, php 4)
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
?php header ("content-type: image / jpeg"); $im = imagecreate (100, 100); $w = imagecolorallocate ($im, 255, 255, 255); $red = imagecolorallocate ($im, 255, 0, 0); / * draw a dashed line, 5 red pixels, 5 white pixels * / $style = array ($red,$red,$red,$red,$red,$w,$w,$w,$w,$w); imagesetstyle ($im, $style); imageline ($im, 0, 0, 100, 100, img_color_styled); / * draw a line of happy faces using imagesetbrush() with imagesetstyle * / $style = array ($w,$w,$w,$w,$w,$w,$w,$w,$w,$w,$w,$w,$red); imagesetstyle ($im, $style); $brush = imagecreatefrompng ("http: / /www.libpng.org / pub / png / images / smile.happy.png"); $w2 = imagecolorallocate($brush,255,255,255); imagecolortransparent ($brush, $w2); imagesetbrush ($im, $brush); imageline ($im, 100, 0, 0, 100, img_color_styledbrushed); imagejpeg ($im); imagedestroy ($im);?
例 1imagesetstyle
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
Advertencia: contiene formato HTML invisible