| 1 |
From: =?utf-8?q?Bastien_ROUCARI=C3=88S?= <[email protected]> |
| 2 |
Date: Sat, 3 Feb 2018 23:38:58 +0100 |
| 3 |
Subject: Fix < instead of < and input form |
| 4 |
|
| 5 |
Forwarded: Yes |
| 6 |
--- |
| 7 |
www/color-management/index.html | 2 +- |
| 8 |
www/compare/index.html | 2 +- |
| 9 |
www/gradient/index.html | 3 ++- |
| 10 |
www/perl-magick/index.html | 2 +- |
| 11 |
www/security-policy/index.html | 3 ++- |
| 12 |
5 files changed, 7 insertions(+), 5 deletions(-) |
| 13 |
|
| 14 |
diff --git a/www/color-management/index.html b/www/color-management/index.html |
| 15 |
index 1778b65..852ce4c 100644 |
| 16 |
--- a/www/color-management/index.html |
| 17 |
+++ b/www/color-management/index.html |
| 18 |
@@ -240,7 +240,7 @@ magick myimage_channels_*.png -combine myimage2.png</samp></pre> |
| 19 |
|
| 20 |
<p>In the above example, the separated channels are non-linear and the default for <code>-combine</code> is to assume non-linear channels. So the result is the same as the input.</p> |
| 21 |
|
| 22 |
|
| 23 |
+<p>If one desires to separate to linear grayscale channels, recombine them later back to non-linear color, perhaps after some processing, then use the same concept as above for maintaining linear grayscale:</p> |
| 24 |
|
| 25 |
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><samp>$ magick myimage.png -set colorspace RGB -separate myimage_channels_%d.png |
| 26 |
magick myimage_channels_*.png -set colorspace RGB -combine -colorspace sRGB myimage2.png |
| 27 |
diff --git a/www/compare/index.html b/www/compare/index.html |
| 28 |
index e242273..cb3e57b 100644 |
| 29 |
--- a/www/compare/index.html |
| 30 |
+++ b/www/compare/index.html |
| 31 |
@@ -562,7 +562,7 @@ transparent, extract, background, or shape the alpha channel</td> |
| 32 |
<td><a href="../command-line-options/index.html#write-mask">-write-mask <var>filename</var></a></td> |
| 33 |
<td>associate a write mask with the image</td> |
| 34 |
</tr> |
| 35 |
|
| 36 |
+ </tr> |
| 37 |
</tbody> |
| 38 |
</table> |
| 39 |
</div> |
| 40 |
diff --git a/www/gradient/index.html b/www/gradient/index.html |
| 41 |
index 5903f78..9bcee4a 100644 |
| 42 |
--- a/www/gradient/index.html |
| 43 |
+++ b/www/gradient/index.html |
| 44 |
@@ -235,8 +235,9 @@ magick -size 256x256 gradient:white-black linear_gradient.png |
| 45 |
magick -size 256x256 radial-gradient:white-black radial_gradient.png </code></pre> |
| 46 |
<p><img src="../image/gradients/radial_gradient.png" alt="radial gradient" width="256" height="256"></p> |
| 47 |
|
| 48 |
+ |
| 49 |
<p>If you want non-linear grayscale gradients, then add -colorspace RGB -colorspace gray |
| 50 |
|
| 51 |
+before saving the output. For example:</p> |
| 52 |
|
| 53 |
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary cli"><code>magick -size 256x256 gradient: linear_gradient.png |
| 54 |
magick -size 256x256 gradient:white-black -colorspace RGB -colorspace gray linear_linear_gradient.png </code></pre> |
| 55 |
diff --git a/www/perl-magick/index.html b/www/perl-magick/index.html |
| 56 |
index 53359dd..3ebd045 100644 |
| 57 |
--- a/www/perl-magick/index.html |
| 58 |
+++ b/www/perl-magick/index.html |
| 59 |
@@ -1790,7 +1790,7 @@ can use the integers 1 and 0.</p> |
| 60 |
|
| 61 |
<tr> |
| 62 |
<td>orientation</td> |
| 63 |
|
| 64 |
+ <td>{top-left, top-right, bottom-right, bottom-left, left-top, right-top, right-bottom, left-bottom}</td> |
| 65 |
<td>image orientation</td> |
| 66 |
</tr> |
| 67 |
|
| 68 |
diff --git a/www/security-policy/index.html b/www/security-policy/index.html |
| 69 |
index d9bcfe0..c99774a 100644 |
| 70 |
--- a/www/security-policy/index.html |
| 71 |
+++ b/www/security-policy/index.html |
| 72 |
@@ -479,7 +479,8 @@ Path: [built-in] |
| 73 |
|
| 74 |
<h2><a class="anchor" id="synchronize"></a>Pixel Cache Synchronize Policy</h2> |
| 75 |
|
| 76 |
|
| 77 |
+<p>When writing image pixels to disk, ImageMagick firsts preallocates the disk file, which is much faster than fully populating the file with zeros. To further increase performance, we memory-map the file on disk. With memory-mapping, we get an increase in performance (up to 5x), however, there remains a possibility that as the disk file is populated, it may run out of free space. The OS then throws a SIGBUS signal which prevents ImageMagick from continuing. To prevent a SIGBUS, use this security policy:</p> |
| 78 |
+ |
| 79 |
|
| 80 |
<pre class="p-3 mb-2 text-body-secondary bg-body-tertiary"> |
| 81 |
<policy domain="cache" name="synchronize" value="True"/> |