diff --git a/index.html b/index.html
index bdd2e7b..4a232c0 100644
--- a/index.html
+++ b/index.html
@@ -2371,22 +2371,22 @@
-
-
-
+
+
+
-
Resize to width
-
convert input_file.ext -resize 750 output_file.ext
-
This script will also convert the file format, if the output has a different file extension than the input.
+
Compare two images
+
compare -metric ae image1.ext image2.ext null:
+
Compares two images to each other.
- - convert
- starts the command
- - -i input_file.ext
- path and name of the input file
- - -resize 750
- resizes the image to 750 pixels wide, retaining aspect ratio
- - output_file.ext
- path and name of the output file
+ - compare
- starts the command
+ - -metric ae
- applies the absolute error count metric, returning the number of different pixels. Other parameters are available for image comparison.
+ - image1.ext image2.ext
- takes two images as input
+ - null:
- throws away the comparison image that would be generated
-
+
@@ -2425,6 +2425,58 @@
+
+
+
+
+
Get file signature data
+
convert -verbose input_file.ext | grep -i signature
+
Gets signature data from an image file, which is a hash that can be used to uniquely identify the image.
+
+ - convert
- starts the command
+ - -verbose
- sets verbose flag for collecting the most data
+ - input_file.ext
- path and name of image file
+ - |
- pipe the data into something else
+ - grep
- starts the grep command
+ - -i signature
- ignore case and search for the phrase "signature"
+
+
+
+
+
+
+
+
+
+
Remove exif data
+
mogrify -path ./stripped/ -strip *.jpg
+
Removes (strips) exif data and moves clean files to a new folder.
+
+ - mogrify
- starts the command
+ - -path ./stripped/
- sets directory within current directory called "stripped"
+ - -strip
- removes exif metadata
+ - *.jpg
- applies command to all .jpgs in current folder
+
+
+
+
+
+
+
+
+
+
Resize to width
+
convert input_file.ext -resize 750 output_file.ext
+
This script will also convert the file format, if the output has a different file extension than the input.
+
+ - convert
- starts the command
+ - -i input_file.ext
- path and name of the input file
+ - -resize 750
- resizes the image to 750 pixels wide, retaining aspect ratio
+ - output_file.ext
- path and name of the output file
+
+
+
+