diff --git a/reference/image/functions/getimagesize.xml b/reference/image/functions/getimagesize.xml index 22bdad697..dd44f5eb8 100644 --- a/reference/image/functions/getimagesize.xml +++ b/reference/image/functions/getimagesize.xml @@ -1,6 +1,6 @@ - + @@ -98,6 +98,13 @@ 可能无法正确确定图像大小。getimagesize 此时会返回的宽高为 0。 + + + getimagesize 是独立于任何图像元数据的。 + 例如,如果 Exif Orientation 标志设置为将图像旋转 90 或 270 度的值, + 索引 0 和 1 被交换,即包含高度和宽度。 + + 索引 2 是表示图像类型的某个 IMAGETYPE_* 常量。 diff --git a/reference/image/functions/imagegd.xml b/reference/image/functions/imagegd.xml index ffe83a1c0..b0540fac2 100644 --- a/reference/image/functions/imagegd.xml +++ b/reference/image/functions/imagegd.xml @@ -1,7 +1,7 @@ - - + + imagegd @@ -15,7 +15,7 @@ stringnullfile&null; - 输出 GD 图像到指定 file。 + 输出或保存 image 参数指定的 GD 图像。 diff --git a/reference/image/functions/imagegd2.xml b/reference/image/functions/imagegd2.xml index 828ac3b90..cbb6f4bc1 100644 --- a/reference/image/functions/imagegd2.xml +++ b/reference/image/functions/imagegd2.xml @@ -1,6 +1,6 @@ - + @@ -17,7 +17,7 @@ intmodeIMG_GD2_RAW - 输出 GD2 图像到指定 file。 + 输出或保存 image 参数指定的 GD2 图像。 diff --git a/reference/image/functions/imagettftext.xml b/reference/image/functions/imagettftext.xml index c8ddffdfe..5491b4e46 100644 --- a/reference/image/functions/imagettftext.xml +++ b/reference/image/functions/imagettftext.xml @@ -1,7 +1,7 @@ - - + + imagettftext @@ -87,11 +87,11 @@ UTF-8 编码的文本字符串。 - 可以包含十进制数字化字符表示(形式为:€)来访问字体中超过位置 - 127 的字符,支持十六进制格式(如 ©)。UTF-8 编码的字符串可以直接传递。 + 可以包含十进制数字化字符表示(形式为:€)来访问字体中超过位置 + 127 的字符,支持十六进制格式(如 ©)。UTF-8 编码的字符串可以直接传递。 - 不支持命名实体,比如 ©。可以考虑使用 html_entity_decode + 不支持命名实体,比如 ©。可以考虑使用 html_entity_decode 将这些命名实体解码为 UTF-8 字符。 @@ -143,6 +143,7 @@ ]]>