[Pkg-gmagick-im-team] Bug#1100596: identify-im7.q16.1: Some remarks and a patch with editorial changes for this man page
Bjarni Ingi Gislason
bjarniig at simnet.is
Sat Mar 15 20:42:29 GMT 2025
Package: imagemagick-7.q16
Version: 8:7.1.1.43+dfsg1-1
Severity: minor
Tags: patch
* What led up to the situation?
Checking for defects with a new version
test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z < "man page"
[Use "groff -e ' $' -e '\\~$' <file>" to find obvious trailing spaces.]
["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).
[The fate of "test-nroff" was decided in groff bug #55941.]
* What was the outcome of this action?
an.tmac:<stdin>:13: style: 2 leading space(s) on input line
[...]
troff:<stdin>:63: warning: trailing space in the line
[...]
* What outcome did you expect instead?
No output (no warnings).
-.-
General remarks and further material, if a diff-file exist, are in the
attachments.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages imagemagick-7.q16 depends on:
ii hicolor-icon-theme 0.18-2
ii libc6 2.41-4
ii libmagickcore-7.q16-10 8:7.1.1.43+dfsg1-1
ii libmagickwand-7.q16-10 8:7.1.1.43+dfsg1-1
Versions of packages imagemagick-7.q16 recommends:
ii ghostscript 10.04.0~dfsg-2+b1
pn libmagickcore-7.q16-10-extra <none>
ii netpbm 2:11.09.03-1
Versions of packages imagemagick-7.q16 suggests:
pn autotrace <none>
pn cups-bsd | lpr | lprng <none>
ii curl 8.12.1-3
pn enscript <none>
pn ffmpeg <none>
pn gimp <none>
pn gnuplot <none>
pn grads <none>
pn graphviz <none>
ii groff-base 1.23.0-7
pn hp2xx <none>
pn html2ps <none>
pn imagemagick-7-doc <none>
pn libraw-bin <none>
pn libwmf-bin <none>
pn mplayer <none>
pn povray <none>
pn radiance <none>
pn sane-utils <none>
ii texlive-binaries [texlive-base-bin] 2024.20240313.70630+ds-5+b1
pn transfig <none>
ii xdg-utils 1.2.1-2
-- no debconf information
-------------- next part --------------
Input file is identify-im7.q16.1
Output from "mandoc -T lint identify-im7.q16.1": (shortened list)
1 input text line longer than 80 bytes: Although some option...
1 input text line longer than 80 bytes: By default, the imag...
1 input text line longer than 80 bytes: For more information...
1 input text line longer than 80 bytes: The \fBidentify-im7....
1 whitespace at end of input line
Remove trailing space with: sed -e 's/ *$//'
-.-.
Output from "test-nroff -mandoc -t -ww -z identify-im7.q16.1": (shortened list)
1 trailing space in the line
Remove trailing space with: sed -e 's/ *$//'
-.-.
Remove space characters (whitespace) at the end of lines.
Use "git apply ... --whitespace=fix" to fix extra space issues, or use
global configuration "core.whitespace".
Number of lines affected is
1
-.-.
Change '-' (\-) to '\(en' (en-dash) for a (numeric) range.
GNU gnulib has recently (2023-06-18) updated its
"build_aux/update-copyright" to recognize "\(en" in man pages.
identify-im7.q16.1:80:\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Reduce space between words.
identify-im7.q16.1:13: \-alpha option on, activate, off, deactivate, set, opaque, copy
identify-im7.q16.1:14: transparent, extract, background, or shape
identify-im7.q16.1:15: \-antialias remove pixel-aliasing
identify-im7.q16.1:16: \-authenticate value decrypt image with this password
identify-im7.q16.1:17: \-clip clip along the first path from the 8BIM profile
identify-im7.q16.1:18: \-clip-mask filename associate a clip mask with the image
identify-im7.q16.1:19: \-clip-path id clip along a named path from the 8BIM profile
identify-im7.q16.1:20: \-colorspace type alternate image colorspace
identify-im7.q16.1:21: \-crop geometry cut out a rectangular region of the image
identify-im7.q16.1:23: define one or more image format options
identify-im7.q16.1:24: \-define unique=true return the number of unique colors in the image
identify-im7.q16.1:25: \-density geometry horizontal and vertical density of the image
identify-im7.q16.1:26: \-depth value image depth
identify-im7.q16.1:27: \-endian type endianness (MSB or LSB) of the image
identify-im7.q16.1:28: \-extract geometry extract area from image
identify-im7.q16.1:29: \-features distance analyze image features (e.g. contrast, correlation)
identify-im7.q16.1:30: \-format "string" output formatted image characteristics
identify-im7.q16.1:31: \-fuzz distance colors within this distance are considered equal
identify-im7.q16.1:32: \-gamma value of gamma correction
identify-im7.q16.1:33: \-interlace type type of image interlacing scheme
identify-im7.q16.1:34: \-interpolate method pixel color interpolation method
identify-im7.q16.1:35: \-limit type value pixel cache resource limit
identify-im7.q16.1:36: \-list type Color, Configure, Delegate, Format, Magic, Module,
identify-im7.q16.1:37: Resource, or Type
identify-im7.q16.1:38: \-matte store matte channel if the image has one
identify-im7.q16.1:39: \-moments report image moments
identify-im7.q16.1:40: \-monitor monitor progress
identify-im7.q16.1:41: \-ping efficiently determine image attributes
identify-im7.q16.1:42: \-precision value maximum number of significant digits to print
identify-im7.q16.1:43: \-quiet suppress all warning messages
identify-im7.q16.1:44: \-read-mask filename associate a read mask with the image
identify-im7.q16.1:45: \-regard-warnings pay attention to warning messages
identify-im7.q16.1:48: horizontal and vertical sampling factor
identify-im7.q16.1:49: \-seed value seed a new sequence of pseudo-random numbers
identify-im7.q16.1:51: \-size geometry width and height of image
identify-im7.q16.1:52: \-strip strip image of all profiles and comments
identify-im7.q16.1:53: \-unique display the number of unique colors in the image
identify-im7.q16.1:54: \-units type the units of image resolution
identify-im7.q16.1:55: \-verbose print detailed information about the image
identify-im7.q16.1:57: virtual pixel access method
identify-im7.q16.1:60: \-auto-orient automatically orient image
identify-im7.q16.1:61: \-channel mask set the image channel mask
identify-im7.q16.1:62: \-grayscale method convert image to grayscale
identify-im7.q16.1:63: \-negate replace each pixel with its complementary color
identify-im7.q16.1:66: \-debug events display copious debugging information
identify-im7.q16.1:67: \-help print program options
identify-im7.q16.1:68: \-list type print a list of supported option arguments
identify-im7.q16.1:69: \-log format format of debugging information
identify-im7.q16.1:70: \-version print version information
Turn this into a table.
-.-.
Change a HYPHEN-MINUS (code 0x2D) to a minus(-dash) (\-),
if it
is in front of a name for an option,
is a symbol for standard input,
is a single character used to indicate an option,
or is in the NAME section (man-pages(7)).
N.B. - (0x2D), processed as a UTF-8 file, is changed to a hyphen
(0x2010, groff \[u2010] or \[hy]) in the output.
8:The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
72:By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
-.-.
Strings longer than 3/4 of a standard line length (80).
Use "\:" to split the string at the end of an output line, for example a
long URL (web address)
10 For more information about the identify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/identify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/identify.php.
80 \fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Add a "\&" (or a comma (Oxford comma)) after "e.g." and "i.e.",
or use English words
(man-pages(7)).
Abbreviation points should be marked as such and protected against being
interpreted as an end of sentence, if they are not, and that independent
of the current place on the line.
29: \-features distance analyze image features (e.g. contrast, correlation)
72:By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
-.-.
Wrong distance (not two spaces) between sentences in the input file.
Separate the sentences and subordinate clauses; each begins on a new
line. See man-pages(7) ("Conventions for source file layout") and
"info groff" ("Input Conventions").
The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.
Remember coding: Only one command ("sentence") on each (logical) line.
E-mail: Easier to quote exactly the relevant lines.
Generally: Easier to edit the sentence.
Patches: Less unaffected text.
Search for two adjacent words is easier, when they belong to the same line,
and the same phrase.
The amount of space between sentences in the output can then be
controlled with the ".ss" request.
Mark a final abbreviation point as such by suffixing it with "\&".
Some sentences (etc.) do not begin on a new line.
Split (sometimes) lines after a punctuation mark; before a conjunction.
Lines with only one (or two) space(s) between sentences could be split,
so latter sentences begin on a new line.
Use
#!/usr/bin/sh
sed -e '/^\./n' \
-e 's/\([[:alpha:]]\)\. */\1.\n/g' $1
to split lines after a sentence period.
Check result with the difference between the formatted outputs.
See also the attachment "general.bugs"
[List of affected lines removed.]
8:The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
29: \-features distance analyze image features (e.g. contrast, correlation)
72:By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
74:Although some options appear to modify the file to be identified, the identify command is strictly \fBread only\fP. For instance, the crop option crops the in-memory image and then describes the result.
80:\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Split lines longer than 80 characters into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.
Add "\:" to split the string for the output, "\<newline>" in the source.
[List of affected lines removed.]
Line 8, length 662
The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
Line 10, length 249
For more information about the identify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/identify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/identify.php.
Line 72, length 306
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
Line 74, length 202
Although some options appear to modify the file to be identified, the identify command is strictly \fBread only\fP. For instance, the crop option crops the in-memory image and then describes the result.
Line 80, length 292
\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
Longest line is: 662 characters.
-.-.
Name of a manual is set in bold, the section in roman.
See man-pages(7).
76:ImageMagick-im7.q16(1)
-.-.
Put a parenthetical sentence, phrase on a separate line,
if not part of a code.
See man-pages(7), item "semantic newline".
[List of affected lines removed.]
identify-im7.q16.1:8:The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
identify-im7.q16.1:10:For more information about the identify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/identify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/identify.php.
identify-im7.q16.1:27: \-endian type endianness (MSB or LSB) of the image
identify-im7.q16.1:29: \-features distance analyze image features (e.g. contrast, correlation)
identify-im7.q16.1:72:By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
identify-im7.q16.1:80:\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Only one space character after a possible end of sentence
(after a punctuation, that can end a sentence).
[List of affected lines removed.]
identify-im7.q16.1:8:The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
identify-im7.q16.1:29: \-features distance analyze image features (e.g. contrast, correlation)
identify-im7.q16.1:72:By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
identify-im7.q16.1:74:Although some options appear to modify the file to be identified, the identify command is strictly \fBread only\fP. For instance, the crop option crops the in-memory image and then describes the result.
identify-im7.q16.1:80:\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Put a subordinate sentence (after a comma) on a new line.
[List of affected lines removed.]
identify-im7.q16.1:8:The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
identify-im7.q16.1:10:For more information about the identify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/identify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/identify.php.
identify-im7.q16.1:13: \-alpha option on, activate, off, deactivate, set, opaque, copy
identify-im7.q16.1:14: transparent, extract, background, or shape
identify-im7.q16.1:29: \-features distance analyze image features (e.g. contrast, correlation)
identify-im7.q16.1:36: \-list type Color, Configure, Delegate, Format, Magic, Module,
identify-im7.q16.1:37: Resource, or Type
identify-im7.q16.1:72:By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
identify-im7.q16.1:74:Although some options appear to modify the file to be identified, the identify command is strictly \fBread only\fP. For instance, the crop option crops the in-memory image and then describes the result.
identify-im7.q16.1:80:\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Remove quotes when there is a printable
but no space character between them
and the quotes are not for emphasis (markup),
for example as an argument to a macro.
identify-im7.q16.1:1:.TH identify-im7.q16 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
-.-.
Put a (long) web address on a new line to reduce the posibility of
splitting the address between two output lines.
Or inhibit hyphenation with "\%" in front of the name.
10:For more information about the identify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/identify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/identify.php.
80:\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
-.-.
Output from "test-groff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z ":
an.tmac:<stdin>:13: style: 2 leading space(s) on input line
an.tmac:<stdin>:14: style: 23 leading space(s) on input line
an.tmac:<stdin>:15: style: 2 leading space(s) on input line
an.tmac:<stdin>:16: style: 2 leading space(s) on input line
an.tmac:<stdin>:17: style: 2 leading space(s) on input line
an.tmac:<stdin>:18: style: 2 leading space(s) on input line
an.tmac:<stdin>:19: style: 2 leading space(s) on input line
an.tmac:<stdin>:20: style: 2 leading space(s) on input line
an.tmac:<stdin>:21: style: 2 leading space(s) on input line
an.tmac:<stdin>:22: style: 2 leading space(s) on input line
an.tmac:<stdin>:23: style: 23 leading space(s) on input line
an.tmac:<stdin>:24: style: 2 leading space(s) on input line
an.tmac:<stdin>:25: style: 2 leading space(s) on input line
an.tmac:<stdin>:26: style: 2 leading space(s) on input line
an.tmac:<stdin>:27: style: 2 leading space(s) on input line
an.tmac:<stdin>:28: style: 2 leading space(s) on input line
an.tmac:<stdin>:29: style: 2 leading space(s) on input line
an.tmac:<stdin>:30: style: 2 leading space(s) on input line
an.tmac:<stdin>:31: style: 2 leading space(s) on input line
an.tmac:<stdin>:32: style: 2 leading space(s) on input line
an.tmac:<stdin>:33: style: 2 leading space(s) on input line
an.tmac:<stdin>:34: style: 2 leading space(s) on input line
an.tmac:<stdin>:35: style: 2 leading space(s) on input line
an.tmac:<stdin>:36: style: 2 leading space(s) on input line
an.tmac:<stdin>:37: style: 23 leading space(s) on input line
an.tmac:<stdin>:38: style: 2 leading space(s) on input line
an.tmac:<stdin>:39: style: 2 leading space(s) on input line
an.tmac:<stdin>:40: style: 2 leading space(s) on input line
an.tmac:<stdin>:41: style: 2 leading space(s) on input line
an.tmac:<stdin>:42: style: 2 leading space(s) on input line
an.tmac:<stdin>:43: style: 2 leading space(s) on input line
an.tmac:<stdin>:44: style: 2 leading space(s) on input line
an.tmac:<stdin>:45: style: 2 leading space(s) on input line
an.tmac:<stdin>:46: style: 2 leading space(s) on input line
an.tmac:<stdin>:47: style: 2 leading space(s) on input line
an.tmac:<stdin>:48: style: 23 leading space(s) on input line
an.tmac:<stdin>:49: style: 2 leading space(s) on input line
an.tmac:<stdin>:50: style: 2 leading space(s) on input line
an.tmac:<stdin>:51: style: 2 leading space(s) on input line
an.tmac:<stdin>:52: style: 2 leading space(s) on input line
an.tmac:<stdin>:53: style: 2 leading space(s) on input line
an.tmac:<stdin>:54: style: 2 leading space(s) on input line
an.tmac:<stdin>:55: style: 2 leading space(s) on input line
an.tmac:<stdin>:56: style: 2 leading space(s) on input line
an.tmac:<stdin>:57: style: 23 leading space(s) on input line
an.tmac:<stdin>:60: style: 2 leading space(s) on input line
an.tmac:<stdin>:61: style: 2 leading space(s) on input line
an.tmac:<stdin>:62: style: 2 leading space(s) on input line
an.tmac:<stdin>:63: style: 2 leading space(s) on input line
troff:<stdin>:63: warning: trailing space in the line
an.tmac:<stdin>:66: style: 2 leading space(s) on input line
an.tmac:<stdin>:67: style: 2 leading space(s) on input line
an.tmac:<stdin>:68: style: 2 leading space(s) on input line
an.tmac:<stdin>:69: style: 2 leading space(s) on input line
an.tmac:<stdin>:70: style: 2 leading space(s) on input line
-.-
Generally:
Split (sometimes) lines after a punctuation mark; before a conjunction.
-------------- next part --------------
--- identify-im7.q16.1 2025-03-15 16:29:19.190855949 +0000
+++ identify-im7.q16.1.new 2025-03-15 20:24:05.537997650 +0000
@@ -1,80 +1,133 @@
-.TH identify-im7.q16 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
+'\" t
+.TH identify-im7.q16 1 "Date: 2009/01/10 01:00:00" ImageMagick
.SH NAME
identify \- describes the format and characteristics of one or more image files.
.SH SYNOPSIS
.TP
\fBmagick-im7.q16 identify\fP [\fIoptions\fP] \fIinput-file\fP
.SH OVERVIEW
-The \fBidentify-im7.q16\fP program is a member of the ImageMagick-ims7.q16(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
-
-For more information about the identify command, point your browser to file:///usr/share/doc/imagemagick-7-common/html/www/identify.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/identify.php.
+The \fBidentify-im7.q16\fP program is a member of the
+ImageMagick-ims7.q16(1) suite of tools.
+It describes the format and
+characteristics of one or more image files.
+It also reports
+if an image is incomplete or corrupt.
+The information returned includes the image number,
+the file name,
+the width and height of the image,
+whether the image is colormapped or not,
+the number of colors in the image
+(by default off use \fI\-define unique=true\fP option),
+the number of bytes in the image,
+the format of the image
+(JPEG, PNM, etc.),
+and finally the number of seconds it took to read
+and process the image.
+Many more attributes are available with the verbose option.
+
+For more information about the identify command,
+point your browser to
+.br
+file:///usr/share/doc/imagemagick\-7\-common/html/www/identify.html
+(on debian system you may install the imagemagick-7 package)
+or
+.br
+https://www.imagemagick.org/script/identify.php.
.SH DESCRIPTION
-Image Settings:
- \-alpha option on, activate, off, deactivate, set, opaque, copy
- transparent, extract, background, or shape
- \-antialias remove pixel-aliasing
- \-authenticate value decrypt image with this password
- \-clip clip along the first path from the 8BIM profile
- \-clip-mask filename associate a clip mask with the image
- \-clip-path id clip along a named path from the 8BIM profile
- \-colorspace type alternate image colorspace
- \-crop geometry cut out a rectangular region of the image
- \-define format:option
- define one or more image format options
- \-define unique=true return the number of unique colors in the image
- \-density geometry horizontal and vertical density of the image
- \-depth value image depth
- \-endian type endianness (MSB or LSB) of the image
- \-extract geometry extract area from image
- \-features distance analyze image features (e.g. contrast, correlation)
- \-format "string" output formatted image characteristics
- \-fuzz distance colors within this distance are considered equal
- \-gamma value of gamma correction
- \-interlace type type of image interlacing scheme
- \-interpolate method pixel color interpolation method
- \-limit type value pixel cache resource limit
- \-list type Color, Configure, Delegate, Format, Magic, Module,
- Resource, or Type
- \-matte store matte channel if the image has one
- \-moments report image moments
- \-monitor monitor progress
- \-ping efficiently determine image attributes
- \-precision value maximum number of significant digits to print
- \-quiet suppress all warning messages
- \-read-mask filename associate a read mask with the image
- \-regard-warnings pay attention to warning messages
- \-respect-parentheses settings remain in effect until parenthesis boundary
- \-sampling-factor geometry
- horizontal and vertical sampling factor
- \-seed value seed a new sequence of pseudo-random numbers
- \-set attribute value set an image attribute
- \-size geometry width and height of image
- \-strip strip image of all profiles and comments
- \-unique display the number of unique colors in the image
- \-units type the units of image resolution
- \-verbose print detailed information about the image
- \-virtual-pixel method
- virtual pixel access method
-
-Image Operators:
- \-auto-orient automatically orient image
- \-channel mask set the image channel mask
- \-grayscale method convert image to grayscale
- \-negate replace each pixel with its complementary color
-
-Miscellaneous Options:
- \-debug events display copious debugging information
- \-help print program options
- \-list type print a list of supported option arguments
- \-log format format of debugging information
- \-version print version information
-
-By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
+.TS
+l l .
+Image Settings: \&
+\-alpha option T{
+on, activate, off, deactivate, set, opaque, copy
+transparent, extract, background, or shape
+T}
+\-antialias remove pixel-aliasing
+\-authenticate value decrypt image with this password
+\-clip clip along the first path from the 8BIM profile
+\-clip-mask filename associate a clip mask with the image
+\-clip-path id clip along a named path from the 8BIM profile
+\-colorspace type alternate image colorspace
+\-crop geometry cut out a rectangular region of the image
+\-define format:option define one or more image format options
+\-define unique=true return the number of unique colors in the image
+\-density geometry horizontal and vertical density of the image
+\-depth value image depth
+\-endian type endianness (MSB or LSB) of the image
+\-extract geometry extract area from image
+\-features distance analyze image features (e.g.\& contrast, correlation)
+\-format "string" output formatted image characteristics
+\-fuzz distance colors within this distance are considered equal
+\-gamma value of gamma correction
+\-interlace type type of image interlacing scheme
+\-interpolate method pixel color interpolation method
+\-limit type value pixel cache resource limit
+\-list type T{
+Color, Configure, Delegate, Format, Magic, Module,
+Resource, or Type
+T}
+\-matte store matte channel if the image has one
+\-moments report image moments
+\-monitor monitor progress
+\-ping efficiently determine image attributes
+\-precision value maximum number of significant digits to print
+\-quiet suppress all warning messages
+\-read-mask filename associate a read mask with the image
+\-regard-warnings pay attention to warning messages
+.TE
+.TS
+l l .
+\-respect-parentheses settings remain in effect until parenthesis boundary
+\-sampling-factor geometry horizontal and vertical sampling factor
+.TE
+.TS
+l l .
+\-seed value seed a new sequence of pseudo-random numbers
+\-set attribute value set an image attribute
+\-size geometry width and height of image
+\-strip strip image of all profiles and comments
+\-unique display the number of unique colors in the image
+\-units type the units of image resolution
+\-verbose print detailed information about the image
+\-virtual-pixel method virtual pixel access method
+
+Image Operators: \&
+\-auto-orient automatically orient image
+\-channel mask set the image channel mask
+\-grayscale method convert image to grayscale
+\-negate replace each pixel with its complementary color
+
+Miscellaneous Options: \&
+\-debug events display copious debugging information
+\-help print program options
+\-list type print a list of supported option arguments
+\-log format format of debugging information
+\-version print version information
+.TE
+
+By default,
+the image format of `file' is determined by its magic number.
+To specify a particular image format,
+precede the filename with an image format name
+and a colon
+(i.e.\& ps:image)
+or specify the image type as the filename suffix
+(i.e.\& image.ps).
+Specify 'file' as '\-' for standard input or output.
.SH NOTE
-Although some options appear to modify the file to be identified, the identify command is strictly \fBread only\fP. For instance, the crop option crops the in-memory image and then describes the result.
+Although some options appear to modify the file to be identified,
+the identify command is strictly \fBread only\fP.
+For instance,
+the crop option crops the in-memory image
+and then describes the result.
.SH SEE ALSO
-ImageMagick-im7.q16(1)
+.BR ImageMagick-im7.q16 (1)
.SH COPYRIGHT
-\fBCopyright (C) 1999-2021 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///usr/share/doc/imagemagick-7-common/html/www/license.html (on debian system you may install the imagemagick-7 package) or https://www.imagemagick.org/script/license.php\fP
+\fBCopyright (C) 1999\(en2021 ImageMagick Studio LLC.
+Additional copyrights and licenses apply to this software,
+see
+.br
+file:///usr/share/doc/imagemagick\-7\-common/html/www/license.html
+(on debian system you may install the imagemagick-7 package)
+or https://www.imagemagick.org/script/license.php\fP
-------------- next part --------------
Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)
[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>
The same goes for man pages that are used as an input.
For a style guide use
mandoc -T lint
-.-
Any "autogenerator" should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.
It should also check its input files for too long (> 80) lines.
This is just a simple quality control measure.
The "autogenerator" may have to be corrected to get a better man page,
the source file may, and any additional file may.
Common defects:
Not removing trailing spaces (in in- and output).
The reason for these trailing spaces should be found and eliminated.
"git" has a "tool" to point out whitespace,
see for example "git-apply(1)" and git-config(1)")
Not beginning each input sentence on a new line.
Line length and patch size should thus be reduced.
The script "reportbug" uses 'quoted-printable' encoding when a line is
longer than 1024 characters in an 'ascii' file.
See man-pages(7), item "semantic newline".
-.-
The difference between the formatted output of the original and patched file
can be seen with:
nroff -mandoc <file1> > <out1>
nroff -mandoc <file2> > <out2>
diff -d -u <out1> <out2>
and for groff, using
\"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - \"
instead of 'nroff -mandoc'
Add the option '-t', if the file contains a table.
Read the output from 'diff -d -u ...' with 'less -R' or similar.
-.-.
If 'man' (man-db) is used to check the manual for warnings,
the following must be set:
The option \"-warnings=w\"
The environmental variable:
export MAN_KEEP_STDERR=yes (or any non-empty value)
or
(produce only warnings):
export MANROFFOPT=\"-ww -b -z\"
export MAN_KEEP_STDERR=yes (or any non-empty value)
-.-
More information about the Pkg-gmagick-im-team
mailing list