💾 Archived View for tilde.team › ~rami › identify.gmi captured on 2024-12-17 at 11:35:39. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
רמי
SUBJECT: Identify (Imagemagick): Определение множественных параметров графического файла в консоли
AUTHOR: Rami Rosenfeld
DATE: 23/11/24
TIME: 14.00
LANG: ru, en
LICENSE: GNU FDL 1.3
TAGS: gnu, gnome, software, opensource, linux, system, man, manual, bash, privacy, security, rhel, centos, mate, xfce, lxde, spin, de, image, identify, jpg, png
Imagemagick - пакет для обработки графики, обладающий огромными возможностями, описать которые подробно не представляется возможным. Поэтому в данном руководстве рассматривается всего лишь одна полезная субкоманда - Identify (однако даже она имеет более сорока опций).
Опция "verbose" позволит получить полную информацию о графическом файле. Выполните в консоли:
magick identify -verbose image.jpg
ДРУГИЕ ПАРАМЕТРЫ
(подставьте вместо "verbose")
-alpha - on, activate, off, deactivate, set, opaque, copy", transparent, extract, background, or shape the alpha channel
-antialias - remove pixel-aliasing
-authenticate value - decrypt image with this password
-auto-orient - automagically orient image
-channel type - apply option to select image channels
-clip - clip along the first path from the 8BIM profile
-clip-mask filename - associate clip mask with the image
-clip-path id - clip along a named path from the 8BIM profile
-colorspace type - set image colorspace
-crop geometry - crop the image
-debug events - display copious debugging information
-define format:option - define one or more image format options
-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. contract, correlations, etc.).
-format string - output formatted image characteristics
-gamma value - level of gamma correction
-grayscale method - convert image to grayscale
-help - print program options
-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
-log format - format of debugging information
-mask filename - associate a mask with the image
-moments - display image moments and perceptual hash.
-monitor - monitor progress
-negate - replace each pixel with its complementary color
-ping - by default, efficiently determine certain image characteristics by only reading the requisite image metadata. To accurately identify all the image metadata and pixel characteristics, use +ping.
-precision value - set the maximum number of significant digits to be printed
-quiet - suppress all warning messages
-regard-warnings - pay attention to warning messages.
-respect-parentheses - settings remain in effect until parenthesis boundary.
-sampling-factor geometry - horizontal and vertical sampling factor
-set attribute value - set an image attribute
-size geometry - width and height of image
-strip - strip image of all profiles and comments
-unique - display image the number of unique colors in the image.
-units type - the units of image resolution
-verbose - print detailed information about the image
-version - print version information
-virtual-pixel method - access method for pixels outside the boundaries of the image
Дополнительно см.:
🄯 Rami Rosenfeld, 2024. GNU FDL 1.3.