Modified: phpdoc/ja/trunk/reference/image/constants.xml =================================================================== --- phpdoc/ja/trunk/reference/image/constants.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/constants.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + &reftitle.constants; &extension.constants; @@ -89,9 +89,7 @@ (integer) - - imagetypes の返り値として使用。 - + &gd.constants.types; @@ -100,9 +98,7 @@ (integer) - - imagetypes の返り値として使用。 - + &gd.constants.types; @@ -111,9 +107,7 @@ (integer) - - imagetypes の返り値として使用。 - + &gd.constants.types; この定数の値は IMG_JPG と同じです。 @@ -127,9 +121,7 @@ (integer) - - imagetypes の返り値として使用。 - + &gd.constants.types; @@ -138,9 +130,7 @@ (integer) - - imagetypes の返り値として使用。 - + &gd.constants.types; @@ -149,9 +139,7 @@ (integer) - - imagetypes の返り値として使用。 - + &gd.constants.types; @@ -160,8 +148,8 @@ (integer) + &gd.constants.types; - imagetypes の返り値として利用します。 PHP 5.6.25 と PHP 7.0.10 以降で利用可能です。 @@ -172,11 +160,7 @@ (integer) - - imagecolorallocate あるいは - imagecolorallocatealpha - で割り当てた色のかわりに使用できる、特別な色オプション。 - + &gd.constants.color; @@ -185,11 +169,7 @@ (integer) - - imagecolorallocate あるいは - imagecolorallocatealpha - で割り当てた色のかわりに使用できる、特別な色オプション。 - + &gd.constants.color; @@ -198,11 +178,7 @@ (integer) - - imagecolorallocate あるいは - imagecolorallocatealpha - で割り当てた色のかわりに使用できる、特別な色オプション。 - + &gd.constants.color; @@ -211,11 +187,7 @@ (integer) - - imagecolorallocate あるいは - imagecolorallocatealpha - で割り当てた色のかわりに使用できる、特別な色オプション。 - + &gd.constants.color; @@ -224,11 +196,7 @@ (integer) - - imagecolorallocate あるいは - imagecolorallocatealpha - で割り当てた色のかわりに使用できる、特別な色オプション。 - + &gd.constants.color; @@ -237,9 +205,7 @@ (integer) - - imageaffinematrixget 関数で用いる、アフィン変換の型を表す定数。 - + &gd.constants.affine; @@ -248,9 +214,7 @@ (integer) - - imageaffinematrixget 関数で用いる、アフィン変換の型を表す定数。 - + &gd.constants.affine; @@ -259,9 +223,7 @@ (integer) - - imageaffinematrixget 関数で用いる、アフィン変換の型を表す定数。 - + &gd.constants.affine; @@ -270,9 +232,7 @@ (integer) - - imageaffinematrixget 関数で用いる、アフィン変換の型を表す定数。 - + &gd.constants.affine; @@ -281,9 +241,7 @@ (integer) - - imageaffinematrixget 関数で用いる、アフィン変換の型を表す定数。 - + &gd.constants.affine; @@ -292,9 +250,7 @@ (integer) - - imagefilledarc 関数で使用するスタイル定数。 - + &gd.constants.arc; この定数の値は IMG_ARC_PIE と同じです。 @@ -308,9 +264,7 @@ (integer) - - imagefilledarc 関数で使用するスタイル定数。 - + &gd.constants.arc; @@ -319,9 +273,7 @@ (integer) - - imagefilledarc 関数で使用するスタイル定数。 - + &gd.constants.arc; @@ -330,9 +282,7 @@ (integer) - - imagefilledarc 関数で使用するスタイル定数。 - + &gd.constants.arc; @@ -341,9 +291,7 @@ (integer) - - imagefilledarc 関数で使用するスタイル定数。 - + &gd.constants.arc; @@ -352,9 +300,7 @@ (integer) - - imagegd2 関数で使用する型定数。 - + &gd.constants.gd2; @@ -363,9 +309,7 @@ (integer) - - imagegd2 関数で使用する型定数。 - + &gd.constants.gd2; @@ -374,9 +318,7 @@ (integer) - - imagelayereffect 関数で使用するアルファブレンディング効果。 - + &gd.constants.effect; @@ -385,9 +327,7 @@ (integer) - - imagelayereffect 関数で使用するアルファブレンディング効果。 - + &gd.constants.effect; @@ -396,9 +336,7 @@ (integer) - - imagelayereffect 関数で使用するアルファブレンディング効果。 - + &gd.constants.effect; @@ -407,9 +345,7 @@ (integer) - - imagelayereffect 関数で使用するアルファブレンディング効果。 - + &gd.constants.effect; @@ -418,9 +354,7 @@ (integer) - - imagelayereffect 関数で使用するアルファブレンディング効果。 - + &gd.constants.effect; @@ -429,9 +363,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -440,9 +372,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -451,9 +381,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -462,9 +390,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -473,9 +399,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -484,9 +408,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -495,9 +417,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -506,9 +426,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -517,9 +435,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -528,9 +444,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -539,9 +453,7 @@ (integer) - - imagefilter 関数で使用する特別な GD フィルタ。 - + &gd.constants.filter; @@ -550,9 +462,9 @@ (integer) + &gd.constants.filter; - imagefilter 関数で使用する特別な GD フィルタ - (PHP 5.3.0 以降で使用可能)。 + (PHP 5.3.0 以降で使用可能) @@ -562,11 +474,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -575,11 +483,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -588,11 +492,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -601,11 +501,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -614,11 +510,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -627,11 +519,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -640,11 +528,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -653,11 +537,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -666,11 +546,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -679,11 +555,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -692,11 +564,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -705,11 +573,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -718,11 +582,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -731,11 +591,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -744,11 +600,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -757,11 +609,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -770,11 +618,7 @@ (integer) - - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数。 - + &gd.constants.type; @@ -783,34 +627,40 @@ (integer) + &gd.constants.type; - image_type_to_mime_type および - image_type_to_extension - 関数で使用する画像形式定数 - (PHP 5.3.0 以降で利用可能)。 + (PHP 5.3.0 以降で利用可能) - + - PNG_NO_FILTER + IMAGETYPE_WEBP (integer) + &gd.constants.type; - imagepng 関数で使用する特別な PNG フィルタ。 + (PHP 7.1.0 以降で利用可能) + + + PNG_NO_FILTER + (integer) + + + &gd.constants.png-filter; + + PNG_FILTER_NONE (integer) - - imagepng 関数で使用する特別な PNG フィルタ。 - + &gd.constants.png-filter; @@ -819,9 +669,7 @@ (integer) - - imagepng 関数で使用する特別な PNG フィルタ。 - + &gd.constants.png-filter; @@ -830,9 +678,7 @@ (integer) - - imagepng 関数で使用する特別な PNG フィルタ。 - + &gd.constants.png-filter; @@ -841,9 +687,7 @@ (integer) - - imagepng 関数で使用する特別な PNG フィルタ。 - + &gd.constants.png-filter; @@ -852,9 +696,7 @@ (integer) - - imagepng 関数で使用する特別な PNG フィルタ。 - + &gd.constants.png-filter; @@ -863,9 +705,7 @@ (integer) - - imagepng 関数で使用する特別な PNG フィルタ。 - + &gd.constants.png-filter; @@ -875,9 +715,7 @@ (int) - - imageflip 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.flip; @@ -887,9 +725,7 @@ (int) - - imageflip 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.flip; @@ -899,9 +735,7 @@ (int) - - imageflip 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.flip; @@ -911,9 +745,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -923,9 +755,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -935,9 +765,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -947,9 +775,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -959,9 +785,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -971,9 +795,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -983,9 +805,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -995,9 +815,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1007,9 +825,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1019,9 +835,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1031,9 +845,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1043,9 +855,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1055,9 +865,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1067,9 +875,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1079,9 +885,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1091,9 +895,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1103,9 +905,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1115,9 +915,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1127,9 +925,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1139,9 +935,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; @@ -1151,9 +945,7 @@ (int) - - imagesetinterpolation 関数で使います。PHP 5.5.0 以降で使用可能です。 - + &gd.constants.interpolation; Modified: phpdoc/ja/trunk/reference/image/functions/getimagesize.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/getimagesize.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/getimagesize.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + @@ -15,7 +15,7 @@ arrayimageinfo - getimagesize 関数は任意の画像ファイルの大きさを決定し、 + getimagesize 関数は、サポートする任意の形式の画像ファイルの大きさを決定し、 ファイルの型と高さ/幅を表す文字列を返します。これらは HTML の IMG タグや HTTP の content type として使用できます。 @@ -168,6 +168,12 @@ + 7.1.0 + + WebP に対応しました。 + + + 5.3.0 アイコンに対応しました。 Modified: phpdoc/ja/trunk/reference/image/functions/image2wbmp.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/image2wbmp.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/image2wbmp.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + @@ -71,14 +71,7 @@ - - &reftitle.notes; - - - WBMP サポートは、GD-1.8 以降で PHP をコンパイルした場合のみ利用可能です。 - - - + &reftitle.seealso; Modified: phpdoc/ja/trunk/reference/image/functions/imagecreatetruecolor.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagecreatetruecolor.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/imagecreatetruecolor.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + @@ -18,15 +18,6 @@ imagecreatetruecolor は、指定した大きさの黒い画像を表す画像 ID を返します。 - - この関数が定義されているかどうかは、PHP および GD のバージョンによって - 変わります。PHP 4.0.6 から 4.1.x の場合、GD モジュールが読み込まれていれば - この関数は常に存在しますが、GD2 がインストールされていない環境では - PHP が致命的なエラーを発生して終了してしまいます。PHP 4.2.x では、 - このような場合にエラーではなく警告を発生させます。他のバージョンの PHP では、 - 適切なバージョンの GD がインストールされている場合にのみ - この関数が定義されます。 - &reftitle.parameters; Modified: phpdoc/ja/trunk/reference/image/functions/imagecrop.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagecrop.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/imagecrop.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,11 +1,11 @@ - + imagecrop - 座標とサイズを指定して、画像をクロップする + 指定した矩形に画像をクロップする @@ -16,11 +16,10 @@ arrayrect - + 画像を指定した矩形範囲にクロップして、クロップ後の画像を返します。 + パラメータ image で渡した画像には何も手を加えません。 - &warn.undocumented.func; - @@ -31,7 +30,9 @@ rect - キー "x"、"y"、"width" そして "height" を持つ配列。 + クロップする矩形を配列で指定します。配列のキーには + x, y, width, + height を指定します。 @@ -45,6 +46,35 @@ + + &reftitle.examples; + + <function>imagecrop</function> の例 + + この例は、画像を正方形にクロップする方法を示すものです。 + + + 0, 'y' => 0, 'width' => $size, 'height' => $size]); +if ($im2 !== FALSE) { + imagepng($im2, 'example-cropped.png'); +} +?> +]]> + + + + + + &reftitle.seealso; + + imagecropauto + + + - + @@ -151,6 +151,13 @@ + + &reftitle.seealso; + + imagecrop + + + - + @@ -123,11 +123,6 @@ &reftitle.notes; - この関数は GD 2.0.2 以降を必要とします。 - - - - imageellipse は imagesetthickness を無視します。 Modified: phpdoc/ja/trunk/reference/image/functions/imagefilledpolygon.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagefilledpolygon.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/imagefilledpolygon.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + imagefilledpolygon @@ -108,6 +108,15 @@ + + + &reftitle.seealso; + + + imagepolygon + + + - + @@ -59,7 +59,7 @@ &reftitle.examples; - JPEG 画像の出力 + JPEG 画像のブラウザへの出力 - JPEG 画像の保存 + JPEG 画像のファイルへの保存 - 75% 品質での画像の出力 + 75% 品質でのブラウザへの画像の出力 - + @@ -128,6 +128,8 @@ &reftitle.seealso; + imagefilledpolygon + imageopenpolygon imagecreate imagecreatetruecolor Modified: phpdoc/ja/trunk/reference/image/functions/imagescale.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagescale.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/imagescale.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + @@ -57,6 +57,11 @@ IMG_BICUBIC、 IMG_BICUBIC_FIXED あるいはそれ以外 (2 パスで使います) のいずれか。 + + + IMG_WEIGHTED4 にはまだ対応していません。 + + Modified: phpdoc/ja/trunk/reference/image/functions/imagesetinterpolation.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagesetinterpolation.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/imagesetinterpolation.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + imagesetinterpolation @@ -188,11 +188,6 @@ imagerotate - - - imagescale - - Modified: phpdoc/ja/trunk/reference/image/functions/imagewbmp.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagewbmp.xml 2016-11-06 19:57:42 UTC (rev 340898) +++ phpdoc/ja/trunk/reference/image/functions/imagewbmp.xml 2016-11-06 20:17:40 UTC (rev 340899) @@ -1,6 +1,6 @@ - + @@ -153,15 +153,7 @@ - - &reftitle.notes; - - - WBMP サポートは、PHP を GD-1.8 以降と組み合わせてコンパイルした - 場合にのみ利用可能です。 - - - + &reftitle.seealso;