| 1 |
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <[email protected]> |
| 2 |
Date: Sat, 29 Mar 2025 18:20:14 +0000 |
| 3 |
Subject: Fix remaining html error |
| 4 |
|
| 5 |
forwarded: not-needed |
| 6 |
--- |
| 7 |
www/architecture/index.html | 12 ++++++------ |
| 8 |
www/clahe/index.html | 1 - |
| 9 |
www/command-line-options/index.html | 2 +- |
| 10 |
www/command-line-processing/index.html | 1 + |
| 11 |
www/compare/index.html | 1 - |
| 12 |
www/compose/index.html | 1 + |
| 13 |
www/defines/index.html | 4 ++-- |
| 14 |
www/install-source/index.html | 2 +- |
| 15 |
www/magick-cache/index.html | 2 +- |
| 16 |
www/magick-wand/index.html | 4 ++-- |
| 17 |
www/news/index.html | 2 +- |
| 18 |
www/support/index.html | 2 +- |
| 19 |
12 files changed, 17 insertions(+), 17 deletions(-) |
| 20 |
|
| 21 |
diff --git a/www/architecture/index.html b/www/architecture/index.html |
| 22 |
index bb90230..c7a16c9 100644 |
| 23 |
--- a/www/architecture/index.html |
| 24 |
+++ b/www/architecture/index.html |
| 25 |
@@ -1201,7 +1201,7 @@ static Image *ReadMGKImage(const ImageInfo *image_info,ExceptionInfo *exception) |
| 26 |
if (IsMGK(buffer,7) == MagickFalse) |
| 27 |
ThrowReaderException(CorruptImageError,"ImproperImageHeader"); |
| 28 |
(void) ReadBlobString(image,buffer); |
| 29 |
|
| 30 |
+ count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); |
| 31 |
if (count <= 0) |
| 32 |
ThrowReaderException(CorruptImageError,"ImproperImageHeader"); |
| 33 |
do |
| 34 |
@@ -1212,7 +1212,7 @@ static Image *ReadMGKImage(const ImageInfo *image_info,ExceptionInfo *exception) |
| 35 |
image->columns=columns; |
| 36 |
image->rows=rows; |
| 37 |
image->depth=8; |
| 38 |
|
| 39 |
+ if ((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) |
| 40 |
if (image->scene >= (image_info->scene+image_info->number_scenes-1)) |
| 41 |
break; |
| 42 |
/* |
| 43 |
@@ -1243,7 +1243,7 @@ static Image *ReadMGKImage(const ImageInfo *image_info,ExceptionInfo *exception) |
| 44 |
if (SyncAuthenticPixels(image,exception) == MagickFalse) |
| 45 |
break; |
| 46 |
if (image->previous == (Image *) NULL) |
| 47 |
|
| 48 |
+ if ((image->progress_monitor != (MagickProgressMonitor) NULL) && |
| 49 |
(QuantumTick(y,image->rows) != MagickFalse)) |
| 50 |
{ |
| 51 |
status=image->progress_monitor(LoadImageTag,y,image->rows, |
| 52 |
@@ -1267,7 +1267,7 @@ static Image *ReadMGKImage(const ImageInfo *image_info,ExceptionInfo *exception) |
| 53 |
break; |
| 54 |
*buffer='\0'; |
| 55 |
(void) ReadBlobString(image,buffer); |
| 56 |
|
| 57 |
+ count=(ssize_t) sscanf(buffer,"%lu %lu\n",&columns,&rows); |
| 58 |
if (count > 0) |
| 59 |
{ |
| 60 |
/* |
| 61 |
@@ -1454,7 +1454,7 @@ static MagickBooleanType WriteMGKImage(const ImageInfo *image_info,Image *image, |
| 62 |
} |
| 63 |
(void) WriteBlob(image,(size_t) (q-pixels),pixels); |
| 64 |
if (image->previous == (Image *) NULL) |
| 65 |
|
| 66 |
+ if ((image->progress_monitor != (MagickProgressMonitor) NULL) && |
| 67 |
(QuantumTick(y,image->rows) != MagickFalse)) |
| 68 |
{ |
| 69 |
status=image->progress_monitor(SaveImageTag,y,image->rows, |
| 70 |
@@ -1630,7 +1630,7 @@ ModuleExport size_t analyzeImage(Image **images,const int argc,const char **argv |
| 71 |
s; |
| 72 |
|
| 73 |
ConvertRGBToHSL(GetPixelRed(image,p),GetPixelGreen(image,p), |
| 74 |
|
| 75 |
+ GetPixelBlue(image,p),&h,&s,&b); |
| 76 |
b*=QuantumRange; |
| 77 |
for (i=1; i <= 4; i++) |
| 78 |
local_brightness.sum[i]+=pow(b,(double) i); |
| 79 |
diff --git a/www/clahe/index.html b/www/clahe/index.html |
| 80 |
index b807a17..55ca031 100644 |
| 81 |
--- a/www/clahe/index.html |
| 82 |
+++ b/www/clahe/index.html |
| 83 |
@@ -209,7 +209,6 @@ |
| 84 |
</ul> |
| 85 |
<p> The image is divided into tiles of <var>width</var> and <var>height</var> pixels. Append <code>%</code> to define the width and height as percentages of the image's dimensions. The tile size should be larger than the size of features to be preserved and respects the aspect ratio of the image. Add <code>!</code> to force an exact tile width and height. <var>number-bins</var> is the number of histogram bins per tile (min 2, max 65536). The number of histogram bins should be smaller than the number of pixels in a single tile. <var>clip-limit</var> is the contrast limit for localized changes in contrast. A clip-limit of 2 to 3 is a good starting place (e.g. -clahe 50x50%+128+3). Very large values will let the histogram equalization do whatever it wants to do, that is result in maximal local contrast. The value 1 will result in the original image. Note, if the number of bins and the clip-limit are omitted, they default to 128 and no clipping respectively.</p> |
| 86 |
<p>To visualize the benefits of CLAHE, we have a low contrast image of mountains:</p> |
| 87 |
|
| 88 |
<ul> |
| 89 |
<a href="../image/mountains.jpg"><img src="../image/mountains.jpg" width="500" height="333" alt="label" /></a> |
| 90 |
</ul> |
| 91 |
diff --git a/www/command-line-options/index.html b/www/command-line-options/index.html |
| 92 |
index 8a1b611..d48e45d 100644 |
| 93 |
--- a/www/command-line-options/index.html |
| 94 |
+++ b/www/command-line-options/index.html |
| 95 |
@@ -3609,7 +3609,7 @@ image is centered on an 800x600 black canvas: </p> |
| 96 |
-gravity center -extent 800x600 -quality 92 output.jpg |
| 97 |
</samp></pre> |
| 98 |
|
| 99 |
|
| 100 |
+<p>The command can also be used with a ratio. If the image is not already at that ratio, it will be cropped to fit it. The <a href="#gravity">-gravity</a> setting has the expected effects.</p> |
| 101 |
|
| 102 |
<p>The following command crops a JPEG image so that it has a 4:3 ratio:</p> |
| 103 |
|
| 104 |
diff --git a/www/command-line-processing/index.html b/www/command-line-processing/index.html |
| 105 |
index 13e413b..9a9dda5 100644 |
| 106 |
--- a/www/command-line-processing/index.html |
| 107 |
+++ b/www/command-line-processing/index.html |
| 108 |
@@ -828,6 +828,7 @@ setting for more specifics.</p> |
| 109 |
<tr> |
| 110 |
<td><var>area</var>@</td> |
| 111 |
<td>Resize image to have specified area in pixels. Aspect ratio is preserved.</td> |
| 112 |
+ </tr> |
| 113 |
<tr> |
| 114 |
<td><var>x</var>:<var>y</var></td> |
| 115 |
<td>Here x and y denotes an aspect ratio (e.g. 3:2 = 1.5).</td> |
| 116 |
diff --git a/www/compare/index.html b/www/compare/index.html |
| 117 |
index cb3e57b..573d38b 100644 |
| 118 |
--- a/www/compare/index.html |
| 119 |
+++ b/www/compare/index.html |
| 120 |
@@ -562,7 +562,6 @@ transparent, extract, background, or shape the alpha channel</td> |
| 121 |
<td><a href="../command-line-options/index.html#write-mask">-write-mask <var>filename</var></a></td> |
| 122 |
<td>associate a write mask with the image</td> |
| 123 |
</tr> |
| 124 |
|
| 125 |
</tbody> |
| 126 |
</table> |
| 127 |
</div> |
| 128 |
diff --git a/www/compose/index.html b/www/compose/index.html |
| 129 |
index 3b424b1..8fc4242 100644 |
| 130 |
--- a/www/compose/index.html |
| 131 |
+++ b/www/compose/index.html |
| 132 |
@@ -450,6 +450,7 @@ the rest of the image outside the overlaid area. </p> |
| 133 |
<td>interpolate</td> |
| 134 |
<td>This mode somehow combines multiply and screen mode (looks very similar for very dark or bright colors). </td> |
| 135 |
</tr> |
| 136 |
+ </tbody> |
| 137 |
</table> |
| 138 |
|
| 139 |
<p>Typically these use the default 'Over' alpha blending when transparencies |
| 140 |
diff --git a/www/defines/index.html b/www/defines/index.html |
| 141 |
index f2b0129..5c30dfb 100644 |
| 142 |
--- a/www/defines/index.html |
| 143 |
+++ b/www/defines/index.html |
| 144 |
@@ -239,7 +239,7 @@ use:</p> |
| 145 |
|
| 146 |
<table class="table table-sm table-hover table-striped table-responsive"> |
| 147 |
<tr> |
| 148 |
|
| 149 |
+ <th align="center" colspan="2">Command-line Defines</th> |
| 150 |
</tr> |
| 151 |
|
| 152 |
<tr> |
| 153 |
@@ -884,7 +884,7 @@ use:</p> |
| 154 |
</tr> |
| 155 |
|
| 156 |
<tr> |
| 157 |
|
| 158 |
+ <th align="center" colspan="2">IMAGE FORMATS</th> |
| 159 |
</tr> |
| 160 |
|
| 161 |
<tr> |
| 162 |
diff --git a/www/install-source/index.html b/www/install-source/index.html |
| 163 |
index 7c4e66e..17e47f7 100644 |
| 164 |
--- a/www/install-source/index.html |
| 165 |
+++ b/www/install-source/index.html |
| 166 |
@@ -273,7 +273,7 @@ make</code></pre> |
| 167 |
<p>We recommend you first uninstall an existing ImageMagick, else you might be surprised that your <samp>$ magick</samp> commands go to the old version.</p> |
| 168 |
<p>Building ImageMagick source for Windows can be done with a modern version of Microsoft Visual Studio IDE. Users have reported success with the Borland C++ compiler as well. If you don't have a compiler you can still install a self-installing <a href="../download/index.html">binary release</a>.</p> |
| 169 |
|
| 170 |
|
| 171 |
+<p>Clone the Github repo:</p> |
| 172 |
|
| 173 |
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><code>git clone https://github.com/ImageMagick/ImageMagick-Windows.git ImageMagick-Windows-7</code></pre> |
| 174 |
|
| 175 |
diff --git a/www/magick-cache/index.html b/www/magick-cache/index.html |
| 176 |
index 054079e..9d08d92 100644 |
| 177 |
--- a/www/magick-cache/index.html |
| 178 |
+++ b/www/magick-cache/index.html |
| 179 |
@@ -209,7 +209,7 @@ |
| 180 |
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>$ magick-cache -passkey passkey.txt create /opt/magick-cache</samp></pre> |
| 181 |
<p>Where `passkey.txt` contains your cache passkey. Don't lose your passkey. Without it, you will be unable to identify, expire, or delete content in your cache.</p> |
| 182 |
<p>You only need to create a MagickCache once. You can, however, create more than one MagickCache with different paths.</p> |
| 183 |
|
| 184 |
+<p>Once the MagickCache is created, you will want to populate the cache with content that includes images, video, audio, or metadata.</p> |
| 185 |
<h4>Put content in the MagickCache</h4> |
| 186 |
<p>Let's add a movie cast image to our newly created cache:</p> |
| 187 |
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"><samp>$ magick-cache put /opt/magick-cache movies/image/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.jpg</samp></pre> |
| 188 |
diff --git a/www/magick-wand/index.html b/www/magick-wand/index.html |
| 189 |
index 2e4e438..191de0b 100644 |
| 190 |
--- a/www/magick-wand/index.html |
| 191 |
+++ b/www/magick-wand/index.html |
| 192 |
@@ -422,12 +422,12 @@ static MagickBooleanType SigmoidalContrast(WandView *contrast_view, |
| 193 |
pixels=GetWandViewPixels(contrast_view); |
| 194 |
for (x=0; x < (ssize_t) extent.width; x++) |
| 195 |
{ |
| 196 |
|
| 197 |
+ PixelGetMagickColor(pixels[x],&pixel); |
| 198 |
pixel.red=SigmoidalContrast(pixel.red); |
| 199 |
pixel.green=SigmoidalContrast(pixel.green); |
| 200 |
pixel.blue=SigmoidalContrast(pixel.blue); |
| 201 |
pixel.index=SigmoidalContrast(pixel.index); |
| 202 |
|
| 203 |
+ PixelSetPixelColor(pixels[x],&pixel); |
| 204 |
} |
| 205 |
return(MagickTrue); |
| 206 |
} |
| 207 |
diff --git a/www/news/index.html b/www/news/index.html |
| 208 |
index b8f98ab..363f736 100644 |
| 209 |
--- a/www/news/index.html |
| 210 |
+++ b/www/news/index.html |
| 211 |
@@ -235,7 +235,7 @@ |
| 212 |
|
| 213 |
<h4>Related Software</h4> |
| 214 |
<p>The <a href="https://github.com/ImageMagick/MagickCache/">MagickCache</a> provides methods and tools to cache images, image sequences, video, audio or metadata in a local folder. Any content is memory-mapped for efficient retrieval. Additional efficiencies are possible by retrieving a portion of an image. Content can persist or you can assign a time-to-live (TTL) to automatically expire content when the TTL is exceeded. MagickCache supports virtually unlimited content upwards of billions of images making it suitable as a web image service. |
| 215 |
|
| 216 |
+</p> |
| 217 |
|
| 218 |
<h4>ImageMagick Development</h4> |
| 219 |
<p>The ImageMagick development process ensures a stable API and <a href="https://abi-laboratory.pro/tracker/timeline/imagemagick/">ABI</a>. Before each ImageMagick release, we perform a comprehensive security assessment that includes <a href="https://github.com/google/sanitizers/wiki/AddressSanitizer">memory error</a>, <a href="https://github.com/google/sanitizers/wiki/ThreadSanitizer">thread data race</a> detection, and continuous <a href="https://github.com/google/oss-fuzz">fuzzing</a> to detect and prevent security vulnerabilities.</p> |
| 220 |
diff --git a/www/support/index.html b/www/support/index.html |
| 221 |
index f902145..3e6a17b 100644 |
| 222 |
--- a/www/support/index.html |
| 223 |
+++ b/www/support/index.html |
| 224 |
@@ -240,7 +240,7 @@ |
| 225 |
<p>Donations can be anonymous, or public.</p> |
| 226 |
<fieldset> |
| 227 |
<legend>Sponsor the ImageMagick Project</legend> |
| 228 |
|
| 229 |
+<h2>Github</h2> |
| 230 |
<p>ImageMagick Studio LLC is the organization that designs, maintains, and enhances the ImageMagick software suite. In the past, we paid for the privilege of producing free software out of our own pockets. Now, to help defray costs associated with network bandwidth, development software, computer hardware, taxes, legal, and other expenses, we accept donations from individuals or companies like yourself.</p> |
| 231 |
<ul> |
| 232 |
|