summaryrefslogtreecommitdiff
path: root/www/api/statistics.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/statistics.html')
-rw-r--r--www/api/statistics.html51
1 files changed, 28 insertions, 23 deletions
diff --git a/www/api/statistics.html b/www/api/statistics.html
index 4b457a6..e340dd4 100644
--- a/www/api/statistics.html
+++ b/www/api/statistics.html
@@ -1,12 +1,14 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html lang="en">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" />
-<title>statistics</title>
-<link rel="stylesheet" href="../docutils-api.css" type="text/css" />
+ <meta charset="utf-8">
+ <meta content="en" name="language">
+ <title>statistics</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link media="screen" href="../docutils-api.css" type="text/css" rel="stylesheet">
+
</head>
+
<body>
<div class="banner">
@@ -19,6 +21,7 @@
</form>
</div>
+
<div class="navmenu">
<ul>
<li><a href="../index.html">Home</a></li>
@@ -32,24 +35,22 @@
<li><a href="../reference.html">Reference</a></li>
</ul>
</div>
+
<div class="document" id="statistics">
<h1 class="title">statistics</h1>
-<h2 class="subtitle" id="compute-image-statistics">Compute image statistics</h2>
-
+<p class="subtitle" id="compute-image-statistics">Compute image statistics</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
-<li><a class="reference internal" href="#getimagestatistics" id="id1">GetImageStatistics</a></li>
+<li><p><a class="reference internal" href="#getimagestatistics" id="id1">GetImageStatistics</a></p></li>
</ul>
</div>
<div class="section" id="getimagestatistics">
<h1><a class="toc-backref" href="#id1">GetImageStatistics</a></h1>
<div class="section" id="synopsis">
<h2>Synopsis</h2>
-<pre class="literal-block">
-MagickPassFail GetImageStatistics( const <a class="reference external" href="../api/types.html#image">Image</a> *image, ImageStatistics *statistics,
- <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );
-</pre>
+<pre class="literal-block">MagickPassFail GetImageStatistics( const <a class="reference external" href="../api/types.html#image">Image</a> *image, ImageStatistics *statistics,
+ <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );</pre>
</div>
<div class="section" id="description">
<h2>Description</h2>
@@ -60,25 +61,29 @@ are normalized to the range 0.0 to 1.0. Multiply values by MaxRGB to obtain
the statistics in quantum units. Statistics for non-existent channels are
set to zero.</p>
<p>The format of the GetImageStatistics method is:</p>
-<pre class="literal-block">
-MagickPassFail GetImageStatistics( const <a class="reference external" href="../api/types.html#image">Image</a> *image, ImageStatistics *statistics,
- <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );
-</pre>
-<dl class="docutils">
+<pre class="literal-block">MagickPassFail GetImageStatistics( const <a class="reference external" href="../api/types.html#image">Image</a> *image, ImageStatistics *statistics,
+ <a class="reference external" href="../api/types.html#exceptioninfo">ExceptionInfo</a> *exception );</pre>
+<dl class="simple">
<dt>image:</dt>
-<dd>The image.</dd>
+<dd><p>The image.</p>
+</dd>
<dt>statistics:</dt>
-<dd>An ImageStatistics structure to update with statistics.</dd>
+<dd><p>An ImageStatistics structure to update with statistics.</p>
+</dd>
<dt>exception:</dt>
-<dd>Any errors are reported here.</dd>
+<dd><p>Any errors are reported here.</p>
+</dd>
</dl>
</div>
</div>
</div>
+
<hr class="docutils">
<div class="document">
- <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2022<!--SPONSOR_LOGO--></p>
+ <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2023<!--SPONSOR_LOGO--></p>
+</div>
+
</div>
</body>
</html>