Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Imagick method synopses (#4118) #4120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions reference/imagick/imagick/adaptiveblurimage.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.adaptiveblurimage">
<refentry xml:id="imagick.adaptiveblurimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::adaptiveBlurImage</refname>
<refpurpose>Adds adaptive blur filter to image</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::adaptiveBlurImage</methodname>
<methodparam><type>float</type><parameter>radius</parameter></methodparam>
<methodparam><type>float</type><parameter>sigma</parameter></methodparam>
Expand Down Expand Up @@ -113,7 +113,6 @@ echo $image;
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/imagick/imagick/adaptiveresizeimage.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.adaptiveresizeimage">
<refentry xml:id="imagick.adaptiveresizeimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::adaptiveResizeImage</refname>
<refpurpose>Adaptively resize image with data dependent triangulation</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::adaptiveResizeImage</methodname>
<methodparam><type>int</type><parameter>columns</parameter></methodparam>
<methodparam><type>int</type><parameter>rows</parameter></methodparam>
Expand Down Expand Up @@ -144,7 +144,6 @@ echo $image;
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/imagick/imagick/adaptivesharpenimage.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.adaptivesharpenimage">
<refentry xml:id="imagick.adaptivesharpenimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::adaptiveSharpenImage</refname>
<refpurpose>Adaptively sharpen the image</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::adaptiveSharpenImage</methodname>
<methodparam><type>float</type><parameter>radius</parameter></methodparam>
<methodparam><type>float</type><parameter>sigma</parameter></methodparam>
Expand Down Expand Up @@ -97,7 +97,6 @@ echo $image;
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/imagick/imagick/adaptivethresholdimage.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.adaptivethresholdimage">
<refentry xml:id="imagick.adaptivethresholdimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::adaptiveThresholdImage</refname>
<refpurpose>Selects a threshold for each pixel based on a range of intensity</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::adaptiveThresholdImage</methodname>
<methodparam><type>int</type><parameter>width</parameter></methodparam>
<methodparam><type>int</type><parameter>height</parameter></methodparam>
Expand Down Expand Up @@ -87,7 +87,6 @@ function adaptiveThresholdImage($imagePath, $width, $height, $adaptiveOffset) {
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
9 changes: 4 additions & 5 deletions reference/imagick/imagick/addimage.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.addimage">
<refentry xml:id="imagick.addimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::addImage</refname>
<refpurpose>Adds new image to Imagick object image list</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::addImage</methodname>
<methodparam><type>Imagick</type><parameter>source</parameter></methodparam>
<methodparam><type>Imagick</type><parameter>image</parameter></methodparam>
</methodsynopsis>
<para>
Adds new image to Imagick object from the current position of the source object.
Expand All @@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>source</parameter></term>
<term><parameter>image</parameter></term>
<listitem>
<para>
The source Imagick object
Expand All @@ -49,7 +49,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
9 changes: 4 additions & 5 deletions reference/imagick/imagick/addnoiseimage.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.addnoiseimage">
<refentry xml:id="imagick.addnoiseimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::addNoiseImage</refname>
<refpurpose>Adds random noise to the image</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::addNoiseImage</methodname>
<methodparam><type>int</type><parameter>noise_type</parameter></methodparam>
<methodparam><type>int</type><parameter>noise</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_DEFAULT</initializer></methodparam>
</methodsynopsis>
<para>
Expand All @@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>noise_type</parameter></term>
<term><parameter>noise</parameter></term>
<listitem>
<para>
The type of the noise. Refer to this list of
Expand Down Expand Up @@ -75,7 +75,6 @@ function addNoiseImage($noiseType, $imagePath, $channel) {
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
9 changes: 4 additions & 5 deletions reference/imagick/imagick/affinetransformimage.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.affinetransformimage">
<refentry xml:id="imagick.affinetransformimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::affineTransformImage</refname>
<refpurpose>Transforms an image</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::affineTransformImage</methodname>
<methodparam><type>ImagickDraw</type><parameter>matrix</parameter></methodparam>
<methodparam><type>ImagickDraw</type><parameter>settings</parameter></methodparam>
</methodsynopsis>
<para>
Transforms an image as dictated by the affine matrix.
Expand All @@ -22,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>matrix</parameter></term>
<term><parameter>settings</parameter></term>
<listitem>
<para>
The affine matrix
Expand Down Expand Up @@ -78,7 +78,6 @@ function affineTransformImage($imagePath) {
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/imagick/imagick/animateimages.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.animateimages">
<refentry xml:id="imagick.animateimages" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::animateImages</refname>
<refpurpose>Animates an image or images</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::animateImages</methodname>
<methodparam><type>string</type><parameter>x_server</parameter></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -53,7 +53,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
9 changes: 4 additions & 5 deletions reference/imagick/imagick/annotateimage.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.annotateimage">
<refentry xml:id="imagick.annotateimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::annotateImage</refname>
<refpurpose>Annotates an image with text</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::annotateImage</methodname>
<methodparam><type>ImagickDraw</type><parameter>draw_settings</parameter></methodparam>
<methodparam><type>ImagickDraw</type><parameter>settings</parameter></methodparam>
<methodparam><type>float</type><parameter>x</parameter></methodparam>
<methodparam><type>float</type><parameter>y</parameter></methodparam>
<methodparam><type>float</type><parameter>angle</parameter></methodparam>
Expand All @@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>draw_settings</parameter></term>
<term><parameter>settings</parameter></term>
<listitem>
<para>
The ImagickDraw object that contains settings for drawing the text
Expand Down Expand Up @@ -130,7 +130,6 @@ echo $image;
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/imagick/imagick/appendimages.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.appendimages">
<refentry xml:id="imagick.appendimages" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::appendImages</refname>
<refpurpose>Append a set of images</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>Imagick</type><methodname>Imagick::appendImages</methodname>
<methodparam><type>bool</type><parameter>stack</parameter></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -89,7 +89,6 @@ echo $combined;
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
4 changes: 1 addition & 3 deletions reference/imagick/imagick/autolevelimage.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="imagick.autolevelimage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Imagick::autoLevelImage</refname>
Expand All @@ -9,7 +8,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::autoLevelImage</methodname>
<methodparam choice="opt"><type>int</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_DEFAULT</initializer></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -63,7 +62,6 @@ function autoLevelImage($imagePath) {
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/imagick/imagick/averageimages.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.averageimages">
<refentry xml:id="imagick.averageimages" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::averageImages</refname>
<refpurpose>Average a set of images</refpurpose>
Expand All @@ -12,7 +12,7 @@

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>Imagick</type><methodname>Imagick::averageImages</methodname>
<void/>
</methodsynopsis>
Expand Down Expand Up @@ -41,7 +41,6 @@
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
9 changes: 4 additions & 5 deletions reference/imagick/imagick/blackthresholdimage.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.blackthresholdimage">
<refentry xml:id="imagick.blackthresholdimage" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>Imagick::blackThresholdImage</refname>
<refpurpose>Forces all pixels below the threshold into black</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodsynopsis role="Imagick">
<modifier>public</modifier> <type>bool</type><methodname>Imagick::blackThresholdImage</methodname>
<methodparam><type>mixed</type><parameter>threshold</parameter></methodparam>
<methodparam><type class="union"><type>ImagickPixel</type><type>string</type></type><parameter>threshold_color</parameter></methodparam>
</methodsynopsis>
<para>
Is like Imagick::thresholdImage() but forces all pixels below the threshold
Expand All @@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>threshold</parameter></term>
<term><parameter>threshold_color</parameter></term>
<listitem>
<para>
The threshold below which everything turns black
Expand Down Expand Up @@ -91,7 +91,6 @@ function blackThresholdImage($imagePath, $thresholdColor) {
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
Loading