svn: /phpdoc/ru/trunk/reference/image/functions/ imagecolorat.xml imagecolorclosest.xml imagecolorclosestalpha.xml imagecolorclosesthwb.xml imagecolordeallocate.xml imagecolorexact.xml imagecolorexactalpha.xml imagecolormatch.xml imagecolorresolve.xml imagecolorresolvealpha.xml

[email protected] (Sergey Panteleev)
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Fri, 24 Jan 2020 06:40:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=348998

Log:
docs(ru): Review

Changed paths:
    U   phpdoc/ru/trunk/reference/image/functions/imagecolorat.xml
    UU  phpdoc/ru/trunk/reference/image/functions/imagecolorclosest.xml
    U   phpdoc/ru/trunk/reference/image/functions/imagecolorclosestalpha.xml
    U   phpdoc/ru/trunk/reference/image/functions/imagecolorclosesthwb.xml
    UU  phpdoc/ru/trunk/reference/image/functions/imagecolordeallocate.xml
    UU  phpdoc/ru/trunk/reference/image/functions/imagecolorexact.xml
    U   phpdoc/ru/trunk/reference/image/functions/imagecolorexactalpha.xml
    U   phpdoc/ru/trunk/reference/image/functions/imagecolormatch.xml
    U   phpdoc/ru/trunk/reference/image/functions/imagecolorresolve.xml
    U   phpdoc/ru/trunk/reference/image/functions/imagecolorresolvealpha.xml
svn-diffs-348998.txt (text/x-diff, 29.1 KB)
Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorat.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorat.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorat.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- EN-Revision: 344604 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.imagecolorat" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorclosest.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorclosest.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorclosest.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,144 +1,144 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 309972 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
-<!-- $Revision$ -->
-<refentry xml:id="function.imagecolorclosest" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
-  <refname>imagecolorclosest</refname>
-  <refpurpose>
-   Получение индекса цвета ближайшего к заданному
-  </refpurpose>
- </refnamediv>
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <type>int</type><methodname>imagecolorclosest</methodname>
-   <methodparam><type>resource</type><parameter>image</parameter></methodparam>
-   <methodparam><type>int</type><parameter>red</parameter></methodparam>
-   <methodparam><type>int</type><parameter>green</parameter></methodparam>
-   <methodparam><type>int</type><parameter>blue</parameter></methodparam>
-  </methodsynopsis>
-  <para>
-   Возвращает индекс цвета в палитре изображения, "ближайшего" к заданному
-   <acronym>RGB</acronym> значению.
-  </para>
-  <para>
-   "Расстояние" между цветами в палитре рассчитывается геометрически, как если
-   бы <acronym>RGB</acronym> значения были представлены в виде точек в трехмерном
-   пространстве.
-  </para>
-  <para>&gd.image.colors;</para>
- </refsect1>
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  <para>
-   <variablelist>
-    &gd.image.description;
-    <varlistentry>
-     <term><parameter>red</parameter></term>
-     <listitem>
-      <para>&gd.value.red;</para>
-     </listitem>
-    </varlistentry>
-    <varlistentry>
-     <term><parameter>green</parameter></term>
-     <listitem>
-      <para>&gd.value.green;</para>
-     </listitem>
-    </varlistentry>
-    <varlistentry>
-     <term><parameter>blue</parameter></term>
-     <listitem>
-      <para>&gd.value.blue;</para>
-     </listitem>
-    </varlistentry>
-   </variablelist>
-   Параметры цвета могут быть либо целочисленными в диапазоне от 0 до 255, либо
-   шестнадцатеричными в диапазоне от 0x00 до 0xFF.
-  </para>
- </refsect1>
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   Возвращает индекс цвета в палитре изображения, ближайшего к заданному.
-  </para>
- </refsect1>
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title>Поиск набора цветов изображения</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-// Создание изображения и преобразование его в палитровое
-$im = imagecreatefrompng('figures/imagecolorclosest.png');
-imagetruecolortopalette($im, false, 255);
-
-// Цвета для поиска (RGB)
-$colors = array(
-    array(254, 145, 154),
-    array(153, 145, 188),
-    array(153, 90, 145),
-    array(255, 137, 92)
-);
-
-// Проход по каждому цвету и поиск ближайшего к нему в палитре.
-// Возврат номера по порядку, RGB искомого цвета и найденное RGB соответствие
-foreach($colors as $id => $rgb)
-{
-    $result = imagecolorclosest($im, $rgb[0], $rgb[1], $rgb[2]);
-    $result = imagecolorsforindex($im, $result);
-    $result = "({$result['red']}, {$result['green']}, {$result['blue']})";
-
-    echo "#$id: Search ($rgb[0], $rgb[1], $rgb[2]); Closest match: $result.\n";
-}
-
-imagedestroy($im);
-?>
-]]>
-    </programlisting>
-    &example.outputs.similar;
-    <screen>
-<![CDATA[
-#0: Search (254, 145, 154); Closest match: (252, 150, 148).
-#1: Search (153, 145, 188); Closest match: (148, 150, 196).
-#2: Search (153, 90, 145); Closest match: (148, 90, 156).
-#3: Search (255, 137, 92); Closest match: (252, 150, 92).
-]]>
-    </screen>
-   </example>
-  </para>
- </refsect1>
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><function>imagecolorexact</function></member>
-    <member><function>imagecolorclosestalpha</function></member>
-    <member><function>imagecolorclosesthwb</function></member>
-   </simplelist>
-  </para>
- </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 309972 Maintainer: tmn Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
+<!-- $Revision$ -->
+<refentry xml:id="function.imagecolorclosest" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>imagecolorclosest</refname>
+  <refpurpose>
+   Получение индекса цвета ближайшего к заданному
+  </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>int</type><methodname>imagecolorclosest</methodname>
+   <methodparam><type>resource</type><parameter>image</parameter></methodparam>
+   <methodparam><type>int</type><parameter>red</parameter></methodparam>
+   <methodparam><type>int</type><parameter>green</parameter></methodparam>
+   <methodparam><type>int</type><parameter>blue</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Возвращает индекс цвета в палитре изображения, "ближайшего" к заданному
+   <acronym>RGB</acronym> значению.
+  </para>
+  <para>
+   "Расстояние" между цветами в палитре рассчитывается геометрически, как если
+   бы <acronym>RGB</acronym> значения были представлены в виде точек в трехмерном
+   пространстве.
+  </para>
+  <para>&gd.image.colors;</para>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    &gd.image.description;
+    <varlistentry>
+     <term><parameter>red</parameter></term>
+     <listitem>
+      <para>&gd.value.red;</para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>green</parameter></term>
+     <listitem>
+      <para>&gd.value.green;</para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>blue</parameter></term>
+     <listitem>
+      <para>&gd.value.blue;</para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+   Параметры цвета могут быть либо целочисленными в диапазоне от 0 до 255, либо
+   шестнадцатеричными в диапазоне от 0x00 до 0xFF.
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Возвращает индекс цвета в палитре изображения, ближайшего к заданному.
+  </para>
+ </refsect1>
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>Поиск набора цветов изображения</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+// Создание изображения и преобразование его в палитровое
+$im = imagecreatefrompng('figures/imagecolorclosest.png');
+imagetruecolortopalette($im, false, 255);
+
+// Цвета для поиска (RGB)
+$colors = array(
+    array(254, 145, 154),
+    array(153, 145, 188),
+    array(153, 90, 145),
+    array(255, 137, 92)
+);
+
+// Проход по каждому цвету и поиск ближайшего к нему в палитре.
+// Возврат номера по порядку, RGB искомого цвета и найденное RGB соответствие
+foreach($colors as $id => $rgb)
+{
+    $result = imagecolorclosest($im, $rgb[0], $rgb[1], $rgb[2]);
+    $result = imagecolorsforindex($im, $result);
+    $result = "({$result['red']}, {$result['green']}, {$result['blue']})";
+
+    echo "#$id: Поиск ($rgb[0], $rgb[1], $rgb[2]); Ближайшее сходство: $result.\n";
+}
+
+imagedestroy($im);
+?>
+]]>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
+<![CDATA[
+#0: Поиск (254, 145, 154); Ближайшее сходство: (252, 150, 148).
+#1: Поиск (153, 145, 188); Ближайшее сходство: (148, 150, 196).
+#2: Поиск (153, 90, 145); Ближайшее сходство: (148, 90, 156).
+#3: Поиск (255, 137, 92); Ближайшее сходство: (252, 150, 92).
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>imagecolorexact</function></member>
+    <member><function>imagecolorclosestalpha</function></member>
+    <member><function>imagecolorclosesthwb</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ru/trunk/reference/image/functions/imagecolorclosest.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorclosestalpha.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorclosestalpha.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorclosestalpha.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- EN-Revision: 339875 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.imagecolorclosestalpha" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -96,7 +96,7 @@
     $result = imagecolorsforindex($im, $result);
     $result = "({$result['red']}, {$result['green']}, {$result['blue']}, {$result['alpha']})";

-    echo "#$id: Search ($rgb[0], $rgb[1], $rgb[2], $rgb[3]); Closest match: $result.\n";
+    echo "#$id: Поиск ($rgb[0], $rgb[1], $rgb[2], $rgb[3]); Ближайшее сходство: $result.\n";
 }

 imagedestroy($im);
@@ -106,10 +106,10 @@
     &example.outputs.similar;
     <screen>
 <![CDATA[
-#0: Search (254, 145, 154, 50); Closest match: (252, 150, 148, 0).
-#1: Search (153, 145, 188, 127); Closest match: (148, 150, 196, 0).
-#2: Search (153, 90, 145, 0); Closest match: (148, 90, 156, 0).
-#3: Search (255, 137, 92, 84); Closest match: (252, 150, 92, 0).
+#0: Поиск (254, 145, 154, 50); Ближайшее сходство: (252, 150, 148, 0).
+#1: Поиск (153, 145, 188, 127); Ближайшее сходство: (148, 150, 196, 0).
+#2: Поиск (153, 90, 145, 0); Ближайшее сходство: (148, 90, 156, 0).
+#3: Поиск (255, 137, 92, 84); Ближайшее сходство: (252, 150, 92, 0).
 ]]>
     </screen>
    </example>

Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorclosesthwb.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorclosesthwb.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorclosesthwb.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- EN-Revision: 344601 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id='function.imagecolorclosesthwb' xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/ru/trunk/reference/image/functions/imagecolordeallocate.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolordeallocate.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolordeallocate.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,91 +1,91 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
-<!-- $Revision$ -->
-<refentry xml:id="function.imagecolordeallocate" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
-  <refname>imagecolordeallocate</refname>
-  <refpurpose>Разрыв ассоциации переменной с цветом для заданного изображения</refpurpose>
- </refnamediv>
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <type>bool</type><methodname>imagecolordeallocate</methodname>
-   <methodparam><type>resource</type><parameter>image</parameter></methodparam>
-   <methodparam><type>int</type><parameter>color</parameter></methodparam>
-  </methodsynopsis>
-  <para>
-   Разрывает ассоциацию переменной с цветом, которая ранее была создана функциями
-   <function>imagecolorallocate</function> или
-   <function>imagecolorallocatealpha</function>.
-  </para>
- </refsect1>
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  <para>
-   <variablelist>
-    &gd.image.description;
-    <varlistentry>
-     <term><parameter>color</parameter></term>
-     <listitem>
-      <para>
-       Идентификатор цвета.
-      </para>
-     </listitem>
-    </varlistentry>
-   </variablelist>
-  </para>
- </refsect1>
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   &return.success;
-  </para>
- </refsect1>
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title>Пример использования <function>imagecolordeallocate</function></title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-$white = imagecolorallocate($im, 255, 255, 255);
-imagecolordeallocate($im, $white);
-?>
-]]>
-    </programlisting>
-   </example>
-  </para>
- </refsect1>
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><function>imagecolorallocate</function></member>
-    <member><function>imagecolorallocatealpha</function></member>
-   </simplelist>
-  </para>
- </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: tmn Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
+<!-- $Revision$ -->
+<refentry xml:id="function.imagecolordeallocate" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>imagecolordeallocate</refname>
+  <refpurpose>Разрыв ассоциации переменной с цветом для заданного изображения</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>bool</type><methodname>imagecolordeallocate</methodname>
+   <methodparam><type>resource</type><parameter>image</parameter></methodparam>
+   <methodparam><type>int</type><parameter>color</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Разрывает ассоциацию переменной с цветом, которая ранее была создана функциями
+   <function>imagecolorallocate</function> или
+   <function>imagecolorallocatealpha</function>.
+  </para>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    &gd.image.description;
+    <varlistentry>
+     <term><parameter>color</parameter></term>
+     <listitem>
+      <para>
+       Идентификатор цвета.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>Пример использования <function>imagecolordeallocate</function></title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$white = imagecolorallocate($im, 255, 255, 255);
+imagecolordeallocate($im, $white);
+?>
+]]>
+    </programlisting>
+   </example>
+  </para>
+ </refsect1>
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>imagecolorallocate</function></member>
+    <member><function>imagecolorallocatealpha</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ru/trunk/reference/image/functions/imagecolordeallocate.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorexact.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorexact.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorexact.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,125 +1,125 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 309972 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
-<!-- $Revision$ -->
-<refentry xml:id="function.imagecolorexact" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
-  <refname>imagecolorexact</refname>
-  <refpurpose>
-   Получение индекса заданного цвета
-  </refpurpose>
- </refnamediv>
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <type>int</type><methodname>imagecolorexact</methodname>
-   <methodparam><type>resource</type><parameter>image</parameter></methodparam>
-   <methodparam><type>int</type><parameter>red</parameter></methodparam>
-   <methodparam><type>int</type><parameter>green</parameter></methodparam>
-   <methodparam><type>int</type><parameter>blue</parameter></methodparam>
-  </methodsynopsis>
-  <para>
-   Возвращает индекс для заданного цвета в палитре изображения.
-  </para>
-  <para>&gd.image.colors;</para>
- </refsect1>
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  <para>
-   <variablelist>
-    &gd.image.description;
-    <varlistentry>
-     <term><parameter>red</parameter></term>
-     <listitem>
-      <para>&gd.value.red;</para>
-     </listitem>
-    </varlistentry>
-    <varlistentry>
-     <term><parameter>green</parameter></term>
-     <listitem>
-      <para>&gd.value.green;</para>
-     </listitem>
-    </varlistentry>
-    <varlistentry>
-     <term><parameter>blue</parameter></term>
-     <listitem>
-      <para>&gd.value.blue;</para>
-     </listitem>
-    </varlistentry>
-   </variablelist>
-  </para>
- </refsect1>
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   Возвращает индекс для заданного цвета в палитре изображения либо -1, если
-   такого цвета в палитре нет.
-  </para>
- </refsect1>
- <refsect1 role="examples">
-  &reftitle.examples;
-  <example>
-   <title>Получение цветов GD логотипа</title>
-   <programlisting role="php">
-<![CDATA[
-<?php
-// создание изображения
-$im = imagecreatefrompng('./gdlogo.png');
-
-$colors   = Array();
-$colors[] = imagecolorexact($im, 255, 0, 0);
-$colors[] = imagecolorexact($im, 0, 0, 0);
-$colors[] = imagecolorexact($im, 255, 255, 255);
-$colors[] = imagecolorexact($im, 100, 255, 52);
-
-print_r($colors);
-
-// освобождение памяти
-imagedestroy($im);
-?>
-]]>
-   </programlisting>
-   &example.outputs.similar;
-   <screen>
-<![CDATA[
-Array
-(
-    [0] => 16711680
-    [1] => 0
-    [2] => 16777215
-    [3] => 6618932
-)
-]]>
-   </screen>
-  </example>
- </refsect1>
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><function>imagecolorclosest</function></member>
-   </simplelist>
-  </para>
- </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"~/.phpdoc/manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 309972 Maintainer: tmn Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
+<!-- $Revision$ -->
+<refentry xml:id="function.imagecolorexact" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>imagecolorexact</refname>
+  <refpurpose>
+   Получение индекса заданного цвета
+  </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>int</type><methodname>imagecolorexact</methodname>
+   <methodparam><type>resource</type><parameter>image</parameter></methodparam>
+   <methodparam><type>int</type><parameter>red</parameter></methodparam>
+   <methodparam><type>int</type><parameter>green</parameter></methodparam>
+   <methodparam><type>int</type><parameter>blue</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Возвращает индекс для заданного цвета в палитре изображения.
+  </para>
+  <para>&gd.image.colors;</para>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    &gd.image.description;
+    <varlistentry>
+     <term><parameter>red</parameter></term>
+     <listitem>
+      <para>&gd.value.red;</para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>green</parameter></term>
+     <listitem>
+      <para>&gd.value.green;</para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>blue</parameter></term>
+     <listitem>
+      <para>&gd.value.blue;</para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Возвращает индекс для заданного цвета в палитре изображения либо -1, если
+   такого цвета в палитре нет.
+  </para>
+ </refsect1>
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <example>
+   <title>Получение цветов GD логотипа</title>
+   <programlisting role="php">
+<![CDATA[
+<?php
+// создание изображения
+$im = imagecreatefrompng('./gdlogo.png');
+
+$colors   = Array();
+$colors[] = imagecolorexact($im, 255, 0, 0);
+$colors[] = imagecolorexact($im, 0, 0, 0);
+$colors[] = imagecolorexact($im, 255, 255, 255);
+$colors[] = imagecolorexact($im, 100, 255, 52);
+
+print_r($colors);
+
+// освобождение памяти
+imagedestroy($im);
+?>
+]]>
+   </programlisting>
+   &example.outputs.similar;
+   <screen>
+<![CDATA[
+Array
+(
+    [0] => 16711680
+    [1] => 0
+    [2] => 16777215
+    [3] => 6618932
+)
+]]>
+   </screen>
+  </example>
+ </refsect1>
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>imagecolorclosest</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ru/trunk/reference/image/functions/imagecolorexact.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorexactalpha.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorexactalpha.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorexactalpha.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- EN-Revision: 339875 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.imagecolorexactalpha" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/ru/trunk/reference/image/functions/imagecolormatch.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolormatch.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolormatch.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- EN-Revision: 339875 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.imagecolormatch" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorresolve.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorresolve.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorresolve.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
 <!-- EN-Revision: 309972 Maintainer: mch Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <refentry xml:id="function.imagecolorresolve" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>imagecolorresolve</refname>

Modified: phpdoc/ru/trunk/reference/image/functions/imagecolorresolvealpha.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagecolorresolvealpha.xml	2020-01-24 06:32:55 UTC (rev 348997)
+++ phpdoc/ru/trunk/reference/image/functions/imagecolorresolvealpha.xml	2020-01-24 06:40:40 UTC (rev 348998)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- EN-Revision: 339875 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.imagecolorresolvealpha" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.