Re: Review Request: ImageMagick7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 4, 2022 at 4:35 PM Kevin Kofler via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Neal Gompa wrote:
> > You can filter out things that use ImageMagick as a build dependency
> > because that's just the command line utilities. That's why I checked
> > only the ones that use the libraries, where the API changes and the
> > required rebuilds are needed.
>
> How backwards-compatible is the CLI? Can there be things stopping to build
> or to work at runtime because ImageMagick 7 convert does not understand some
> option intended for ImageMagick 6 convert?
>

It's pretty compatible. Just by diffing "convert --help", it's mostly
functional additions and some reorganization/rewording of
descriptions.

The only option missing is "convert -magnify", though curiously the
code is still present in ImageMagick API. The command seems plumbed
into the program in the source code too, so I'm confused why it's not
documented.

I've attached the diff of the program help too.




--
真実はいつも一つ!/ Always, there's only one truth!
--- convert6.txt	2022-12-04 16:51:43.547765023 -0500
+++ convert7.txt	2022-12-04 17:07:45.018411091 -0500
@@ -1,8 +1,9 @@
-Version: ImageMagick 6.9.12-67 Q16 x86_64 17519 https://legacy.imagemagick.org
+Version: ImageMagick 7.1.0-52 Q16-HDRI x86_64 20549 https://imagemagick.org
 Copyright: (C) 1999 ImageMagick Studio LLC
 License: https://imagemagick.org/script/license.php
-Features: Cipher DPC Modules OpenMP(4.5) 
-Delegates (built-in): bzlib cairo djvu fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zlib
+Features: Cipher DPC HDRI Modules OpenMP(4.5)
+Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib
+Compiler: gcc (12.2)
 Usage: convert [options ...] file [ [options ...] file ...] [options ...] file
 
 Image Settings:
@@ -20,9 +21,9 @@ Image Settings:
   -blue-primary point  chromaticity blue primary point
   -bordercolor color   border color
   -caption string      assign a caption to an image
-  -channel type        apply option to select image channels
+  -clip                clip along the first path from the 8BIM profile
   -clip-mask filename  associate a clip mask with the image
-  -colors value        preferred number of colors in the image
+  -clip-path id        clip along a named path from the 8BIM profile
   -colorspace type     alternate image colorspace
   -comment string      annotate image with comment
   -compose operator    set image composite operator
@@ -39,6 +40,7 @@ Image Settings:
   -encoding type       text encoding type
   -endian type         endianness (MSB or LSB) of the image
   -family name         render text with this font family
+  -features distance   analyze image features (e.g. contrast, correlation)
   -fill color          color to use when filling a graphic primitive
   -filter type         use this filter when resizing an image
   -font name           render text with this font
@@ -46,7 +48,8 @@ Image Settings:
   -fuzz distance       colors within this distance are considered equal
   -gravity type        horizontal and vertical text placement
   -green-primary point chromaticity green primary point
-  -intensity method    method to generate intensity value from pixel
+  -illuminant type     reference illuminant
+  -intensity method    method to generate an intensity value from a pixel
   -intent type         type of rendering intent when managing the image color
   -interlace type      type of image interlacing scheme
   -interline-spacing value
@@ -58,7 +61,6 @@ Image Settings:
   -label string        assign a label to an image
   -limit type value    pixel cache resource limit
   -loop iterations     add Netscape loop extension to your GIF animation
-  -mask filename       associate a mask with the image
   -matte               store matte channel if the image has one
   -mattecolor color    frame color
   -moments             report image moments
@@ -71,6 +73,7 @@ Image Settings:
   -preview type        image preview type
   -quality value       JPEG/MIFF/PNG compression level
   -quiet               suppress all warning messages
+  -read-mask filename  associate a read mask with the image
   -red-primary point   chromaticity red primary point
   -regard-warnings     pay attention to warning messages
   -remap filename      transform image colors to match this set of colors
@@ -102,6 +105,7 @@ Image Settings:
                        virtual pixel access method
   -weight type         render text with this font weight
   -white-point point   chromaticity white point
+  -write-mask filename associate a write mask with the image  -word-break type     sets whether line breaks appear wherever the text would otherwise overflow
 
 Image Operators:
   -adaptive-blur geometry
@@ -117,7 +121,11 @@ Image Operators:
   -auto-gamma          automagically adjust gamma level of image
   -auto-level          automagically adjust color levels of image
   -auto-orient         automagically orient (rotate) image
+  -auto-threshold method
+                       automatically perform image thresholding
   -bench iterations    measure performance
+  -bilateral-blur geometry
+                       non-linear, edge-preserving, and noise-reducing smoothing filter
   -black-threshold value
                        force all pixels below the threshold into black
   -blue-shift factor   simulate a scene at nighttime in the moonlight
@@ -128,18 +136,19 @@ Image Operators:
                        improve brightness / contrast of the image
   -canny geometry      detect edges in the image
   -cdl filename        color correct with a color decision list
+  -channel mask        set the image channel mask
   -charcoal radius     simulate a charcoal drawing
   -chop geometry       remove pixels from the image interior
+  -clahe geometry      contrast limited adaptive histogram equalization
   -clamp               keep pixel values in range (0-QuantumRange)
-  -clip                clip along the first path from the 8BIM profile
-  -clip-path id        clip along a named path from the 8BIM profile
   -colorize value      colorize the image with the fill color
   -color-matrix matrix apply color correction to the image
+  -colors value        preferred number of colors in the image
   -connected-components connectivity
                        connected-components uniquely labeled
   -contrast            enhance or reduce the image contrast
   -contrast-stretch geometry
-                       improve contrast by `stretching' the intensity range
+                       improve contrast by 'stretching' the intensity range
   -convolve coefficients
                        apply a convolution kernel to the image
   -cycle amount        cycle the image colormap
@@ -147,7 +156,7 @@ Image Operators:
   -deskew threshold    straighten an image
   -despeckle           reduce the speckles within an image
   -distort method args
-                       distort images according to given method ad args
+                       distort images according to given method and args
   -draw string         annotate the image with a graphic primitive
   -edge radius         apply a filter to detect edges in the image
   -encipher filename   convert plain pixels to cipher pixels
@@ -158,7 +167,6 @@ Image Operators:
                        evaluate an arithmetic, relational, or logical expression
   -extent geometry     set the image size
   -extract geometry    extract area from image
-  -features distance   analyze image features (e.g. contrast, correlation)
   -fft                 implements the discrete Fourier transform (DFT)
   -flip                flip image vertically
   -floodfill geometry color
@@ -177,20 +185,21 @@ Image Operators:
   -identify            identify the format and characteristics of the image
   -ift                 implements the inverse discrete Fourier transform (DFT)
   -implode amount      implode image pixels about the center
+  -integral            calculate the sum of values (pixel values) in the image
   -interpolative-resize geometry
-                       resize image using 'point sampled' interpolation
+                       resize image using interpolation
+  -kmeans geometry     K means color reduction
   -kuwahara geometry   edge preserving noise reduction filter
   -lat geometry        local adaptive thresholding
   -level value         adjust the level of image contrast
   -level-colors color,color
                        level image with the given colors
   -linear-stretch geometry
-                       improve contrast by `stretching with saturation'
+                       improve contrast by 'stretching with saturation'
   -liquid-rescale geometry
                        rescale image with seam-carving
   -local-contrast geometry
                        enhance local contrast
-  -magnify             double the size of the image with pixel art scaling
   -mean-shift geometry delineate arbitrarily shaped clusters in the image
   -median geometry     apply a median filter to the image
   -mode geometry       make each pixel the 'predominant color' of the
@@ -201,7 +210,7 @@ Image Operators:
                        apply a morphology method to the image
   -motion-blur geometry
                        simulate motion blur
-  -negate              replace every pixel with its complementary color 
+  -negate              replace every pixel with its complementary color
   -noise geometry      add or reduce noise in an image
   -normalize           transform image to span the full range of colors
   -opaque color        change this color to the fill color
@@ -216,10 +225,11 @@ Image Operators:
   -posterize levels    reduce the image to a limited number of color levels
   -profile filename    add, delete, or apply an image profile
   -quantize colorspace reduce colors in this colorspace
-  -radial-blur angle   radial blur the image (deprecated use -rotational-blur
   -raise value         lighten/darken image edges to create a 3-D effect
   -random-threshold low,high
                        random threshold the image
+  -range-threshold values
+                       perform either hard or soft thresholding within some range of values in an image
   -region geometry     apply options to a portion of the image
   -render              render vector graphics
   -resample geometry   change the resolution of an image
@@ -246,6 +256,7 @@ Image Operators:
                        shadows
   -sketch geometry     simulate a pencil sketch
   -solarize threshold  negate all pixels above the threshold level
+  -sort-pixels         sort each scanline in ascending order of intensity
   -sparse-color method args
                        fill in a image based on a few color points
   -splice geometry     splice the background color into the image
@@ -271,9 +282,15 @@ Image Operators:
   -wave geometry       alter an image along a sine wave
   -wavelet-denoise threshold
                        removes noise from the image using a wavelet transform
+  -white-balance       automagically adjust white balance of image
   -white-threshold value
                        force all pixels above the threshold into white
 
+Image Channel Operators:
+  -channel-fx expression
+                       exchange, extract, or transfer one or more image channels
+  -separate            separate an image channel into a grayscale image
+
 Image Sequence Operators:
   -append              append an image sequence
   -clut                apply a color lookup table to the image
@@ -298,7 +315,6 @@ Image Sequence Operators:
                        terms (coefficients and degree pairs).
   -print string        interpret string and print to console
   -process arguments   process the image with a custom image filter
-  -separate            separate an image channel into a grayscale image
   -smush geometry      smush an image sequence together
   -write filename      write images to this file
 
@@ -320,7 +336,7 @@ Miscellaneous Options:
   -log format          format of debugging information
   -version             print version information
 
-By default, the image format of `file' is determined by its magic
+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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux