adds image hash grabbing recipe

This commit is contained in:
Ashley Blewer 2018-06-06 18:21:16 -04:00
parent 468b7b3a09
commit ec3829d1b6

View File

@ -2372,8 +2372,8 @@
<!-- End About ImageMagick --> <!-- End About ImageMagick -->
<!-- Compare two images --> <!-- Compare two images -->
<label class="recipe" for="im_strip">Compare two images</label> <label class="recipe" for="im_compare">Compare two images</label>
<input type="checkbox" id="im_strip"> <input type="checkbox" id="im_compare">
<div class="hiding"> <div class="hiding">
<h3>Compare two images</h3> <h3>Compare two images</h3>
<p><code>compare -metric ae <i>image1.ext image2.ext</i> null:</code></p> <p><code>compare -metric ae <i>image1.ext image2.ext</i> null:</code></p>
@ -2425,6 +2425,25 @@
</div> </div>
<!-- ends Create grid of images --> <!-- ends Create grid of images -->
<!-- Get file signature data -->
<label class="recipe" for="im_sig_data">Get file signature data</label>
<input type="checkbox" id="im_sig_data">
<div class="hiding">
<h3>Get file signature data</h3>
<p><code>convert -verbose <i>input_file.ext</i> | grep -i signature </code></p>
<p>Gets signature data from an image file, which is a hash that can be used to uniquely identify the image.</p>
<dl>
<dt>convert</dt><dd>starts the command</dd>
<dt>-verbose</dt><dd>sets verbose flag for collecting the most data</dd>
<dt><i>input_file.ext</i></dt><dd>path and name of image file</dd>
<dt>|</dt><dd>pipe the data into something else</dd>
<dt>grep</dt><dd>starts the grep command</dd>
<dt>-i signature</dt><dd>ignore case and search for the phrase "signature"</dd>
</dl>
<p class="link"></p>
</div>
<!-- ends Get file signature data -->
<!-- Remove exif data --> <!-- Remove exif data -->
<label class="recipe" for="im_strip">Removes exif metadata</label> <label class="recipe" for="im_strip">Removes exif metadata</label>
<input type="checkbox" id="im_strip"> <input type="checkbox" id="im_strip">