Fred's ImageMagick Scripts



    Licensing:

    Copyright © Fred Weinhaus

    My scripts are available free of charge for non-commercial use, ONLY.

    For use of my scripts in commercial (for-profit) environments or non-free applications, please contact me (Fred Weinhaus) for licensing arrangements. My email address is fmw at alink dot net.

    If you: 1) redistribute, 2) incorporate any of these scripts into other free applications or 3) reprogram them in another scripting language, then you must contact me for permission, especially if the result might be used in a commercial or for-profit environment.

    Usage, whether stated or not in the script, is restricted to the above licensing arrangements. It is also subject, in a subordinate manner, to the ImageMagick license, which can be found at: http://www.imagemagick.org/script/license.php

  • Detailed information and examples are available for each script on separate pages linked above and below as well as a summary list of them all.

  • You can also try many of them in an interactive environment at JqMagic. This is a collaborative effort with Jd Audibert.

  • To download a script, go the examples page for that script and simply click on the link. The links are controlled by a counter script and are set to download automatically upon a single left button click.

  • These scripts are bash unix shell scripts and should work on Linux and Mac OSX with IM 6.3.5.0 or higher. Note that they were not designed for multi-page/multi-layer/multi-frame images.

    Pointers for use:
    1. Be sure you have installed the unix calculator, bc. It is an option that you may have to select when installing unix.
    2. Download the script
    3. Change the name to add or remove the .sh as desired when running
    4. Set the script to executable (chmod u+x)
    5. Find the full path to where IM (convert) resides by typing in a shell terminal window: type -a convert
    6. If type -a convert returns more than one path, type in a shell terminal window: path2/convert -version, where path2 is each of the paths found. Decide which version of IM you want to use.
    7. Modify your PATH environment variable so that it includes the full path to where IM (convert) resides (often /usr/bin or /usr/local/bin). This can be done by editing your .profile file.
      Alternately, edit the script somewhere between the comments and the first use of any IM command, such as just below the defaults section to add the following two lines:
      imdir="path2" #(such as imdir="/usr/local/bin" or imdir="/usr/bin")
      PATH="${imdir}:${PATH}"
    8. Open a shell terminal window
    9. SYNTAX: bash /fullpathto/scriptname(.sh) arguments /fullpathto/inputimage /fullpathto/outputimage
    10. To avoid the bash and just use scriptname(.sh) ... set your PATH to contain the location of the script. I strongly suggest you create a directory to contain all my scripts and put the path to that directory in your PATH environment variable. That will also avoid issues for scripts that make calls to any of my other scripts and also messages regarding locating my scripts.
    11. Optionally edit the script to change the default directory (found after the defaults section) from dir="." to dir="/tmp" and be sure it has read/write permissions.
    12. If you have trouble with filenames with spaces in them, then you will need to edit the script in several places until I have time to review and fix all my scripts.
      • Find where infile and outfile (maskfile or any others) are defined at the end of the argument trapping section. Make sure to enclose in double quotes any declarations of those files that include $1, $2, etc, such as infile="$1", etc
      • Find any occurrences of $infile or $outfile and enclose them in double quotes as "$infile", etc.
    13. On some Linux systems, there may be an issue with duplicate lines of documentation when using the -help option. If this is the case, try changing the following two lines in functions usage1() and usage2(), respectively, just below the commented section at the top of the script as follows (suggested by Stefan Vorkoetter):
      • sed >&2 -e '1,/^####/d; /^###/g; /^#/!q; s/^#//; s/^ //; 4,$p' "$PROGDIR/$PROGNAME"
        To:
        sed -e '1,/^####$/d; /^###$/,$d; s/^#//; s/^ //' "$PROGDIR/$PROGNAME"
      • sed >&2 -e '1,/^####/d; /^######/g; /^#/!q; s/^#*//; s/^ //; 4,$p' "$PROGDIR/$PROGNAME"
        To:
        sed -e '1,/^####$/d; /^######$/,$d; s/^#*//; s/^ //' "$PROGDIR/$PROGNAME"

  • These scripts can be used with PHP exec command.

    Pointers for use:
    1. Be sure you have installed the unix calculator, bc. It is an option that you may have to select when installing unix.
    2. Download the script
    3. Change the name to add or remove the .sh as desired when running
    4. Set the script to executable (chmod u+x)
    5. Find the full path to where IM (convert) resides by typing in a shell terminal window: type -a convert
    6. If type -a convert returns more than one path, type in a shell terminal window: path2/convert -version, where path2 is each of the paths found. Decide which version of IM you want to use.
    7. Modify your PATH environment variable so that it includes the full path to where IM (convert) resides (often /usr/bin or /usr/local/bin). This can be done by editing your .profile file.
      Alternately, edit the script somewhere between the comments and the first use of any IM command, such as just below the defaults section to add the following two lines:
      imdir="path2" #(such as imdir="/usr/local/bin" or imdir="/usr/bin")
      PATH="${imdir}:${PATH}"
    8. Edit the script to change the default directory (found after the defaults section) from dir="." to dir="/tmp" and be sure it has read/write permissions.
    9. In the exec command use bash /fullpathto/scriptname(.sh) arguments /fullpathto/inputimage /fullpathto/outputimage.
      Note that "bash" may or may not be necessary
    10. To avoid the bash and just use scriptname(.sh) ... set your PATH to contain the location of the script. I strongly suggest you create a directory to contain all my scripts and put the path to that directory in your PATH environment variable. That will also avoid issues for scripts that make calls to any of my other scripts and also messages regarding locating my scripts.
    11. If you have trouble with filenames with spaces in them, then you will need to edit the script in several places until I have time to review and fix all my scripts.
      • Find where infile and outfile (maskfile or any others) are defined at the end of the argument trapping section. Make sure to enclose in double quotes any declarations of those files that include $1, $2, etc, such as infile="$1", etc
      • Find any occurrences of $infile or $outfile and enclose them in double quotes as "$infile", etc.

  • Windows users can run my scripts, if they install the unix Cygwin system for Windows and then install the IM Cygwin binary.


  • Windows 10 (64-bit) users can also run my scripts without the need for Cygwin. Bruce Rusk reports: All that was need was the installation of the Unix bc tool and Imagemagick through apt/apt-get. Everything else worked right out of the box, no changes to PATH variables required. See How to Install and Use the Linux Bash Shell on Windows 10.

  • My earliest scripts were developed under ImageMagick-6.3.5.0 on Mac OS 10.4x. I have tried to keep them updated with changes in IM versions. All were developed using Q16 IM. I do not know how compatible they are to older version of ImageMagick, nor to other Q levels or other versions of Unix.

    NOTE: Starting with IM 6.3.5.7, -matte/+matte were deprecated in favor of -alpha set or on/-alpha off. Therefore, many of my scripts may not work with IM versions prior to that unless replaced with the deprecated syntax.


  • Use at your own risk. The argument testing may not be foolproof nor do I bear any responsibility for any problems that may occur by their use.

  • I would like to thank Anthony Thyssen for his patience with all my newbie questions about IM and Unix. His replies were invaluable.

  • My background involves image processing with a specialty in image perspective transformations from arial photography. For details, see my personal information page.

  • I have also written a digital image filtering tutorial (2MB PDF). It supplements the description of the following scripts below with more mathematical detail: binomial, derivative, gradient, laplacian, statsfilt, isonoise, sharp and space.

  • And I have created a tutorial for Fourier Transform Processing With ImageMagick. It supplements the description of the following scripts below with more mathematical detail: spectrum, fftconvol, fftdeconvol, fftfilter, cepstrum, camerablur, cameradeblur, normcrosscorr and notch.

  • Also see my ImageMagick Tidbits pages.

  • Comments and bug reports are always welcome. My contact information is fmw at alink dot net

  • If you find any of these scripts are particularly useful, please let the folks at ImageMagick know. Perhaps they will consent to implement them as IM functions.

  • NOTE: I fix problems that I find with the scripts or make improvements often. So please check the last modified dates below or the revision dates in the scripts for updates.
  • Latest Updates:

    • tinyplanet: Aug 12, 2017 - added new script to transform a spherical panorama to a linear fisheye view.
    • pano2fisheye: Aug 11, 2017 - added new script to transform a spherical panorama to a fisheye view.
    • smarttrim: Jul 14, 2017 - added new script to automatically trim an image around the region of highest detail in the images.
    • smartcrop: Jul 3, 2017 - added new script to automatically crop an image to a given size around the hightest detail region.
    • watercolor: Jun 30, 2017 - added new script to apply a watercolor effect to an image.
    • sketching: Jun 27, 2017 - added new script to apply a sketch effect to an image.
    • colorfulness: Jun 12, 2017 - added new script to compute a metric that represents the colorfulness of an image.
    • sketchetch: Jun 10, 2017 - added new script to create an etch-like sketch from an image.
    • shapecluster: Jun 5, 2017 - added new script to create a division of the image into 5 separated rectangular regions.
    • textdistort: Jun 2, 2017 - added new script to distort repeated text to warp it to the shape of the image content.
    • pip: May 29, 2017 - added new script to create a picture-in-picture effect.
    • colorcells: May 18, 2017 - added new script to randomly modify the color of rectangular cells of an image.
    • painteffect: Apr 20, 2017 - added new script to apply a paint effect to an image.
    • contour: Apr 1, 2017 - added new script to apply a contour outline to the image content.
    • removecolorcast: Jan 31, 2017 - added new script to remove a color cast from an image.
    • corners: Jan 27, 2017 - added new script to detect corner structures in an image.
    • transfercolor: Jan 14, 2017 - added new script to transfer the coloring from one image to another image.
    • hexagons: Dec 16, 2016 - added new script to create a hexagonal grid of the randomly rotated input image.
    • neg2pos: Dec 15, 2016 - added new script to convert from a (scanned film) negative image to a positive image.
    • juliaset: Dec 5, 2016 - creates a julia set fractal image.
    • mandelbrot: Dec 5, 2016 - creates a mandelbrot set fractal image.
    • conformal: Nov 29, 2016 - applies a conformal mapping to an image.
    • mesmerize: Nov 24, 2016 - creates a mesmerizing animation from an image.
    • textdeskew: Nov 17, 2016 - unrotates (deskews) an image containing text.
    • randomclipart: Oct 30, 2016 - randomly distributes clip art over the image.
    • shuffle: Oct 25, 2016 - randomly shuffles the positions of square sized tiles in an image.
    • dice: Oct 11, 2016 - randomly rotates each successive square-sized patch in the image.
    • maxrgb: Sep 4, 2016 - generates an image that keeps only the channel with the maximum value at each pixel.

  • The following scripts are superceded by newer IM functions:
  • Superceded Scripts:

    • adjoin script is superceded by IM -append
    • anglegradient script is superceded multigradient script
    • autogamma script is superceded by IM -auto-gamma
    • autolevel script is superceded by the sequence of IM -auto-level -auto-gamma
    • bcimage script is superceded by IM -brightness-contrast
    • bilinearwarp script is superceded by IM -distort bilinearforward
    • fisheye2pano script is mostly superceded by IM -distort depolar
    • flicker script is superceded by Anthony's script flicker_cmp
    • levelcolors script is superceded by IM -level-colors
    • moments script is superceded by IM identify -verbose -moments (IM 6.8.8.2)
    • morphology script is superceded by IM -morphology
    • pinbarrel script is superceded by IM -distort barrel and -distort barrelinverse
    • polar script is superceded by IM -distort polar and -distort depolar
    • profile script is superceded by Anthony's script im_profile
    • saturation script is superceded by IM -modulate
    • separate script is superceded by IM -connected-components
    • similar script is superceded by IM compare -metric ncc
    • skew script is superceded by IM -shear
    • stretch script is superceded by IM -auto-level


    Scripts By Category
    Geometry Image
    Effects
    Brightness
    Contrast
    Blur
    Sharpen
    Edge
    Color Threshold
    Segment
    Noise
    Addition
    Removal
    Fourier
    Transform
    Miscellaneous
    Utilities
    3Dbox Generates a perspective view of a 3D box at any orientation with pictures pasted on each of its sides Generates a perspective view of a 3D box at any orientation with pictures pasted on each of its sides bevel Applies an inner bevel or outer bevel or emboss effect to an image Applies an inner bevel or outer bevel or emboss effect to an image autogamma Modifies an image to automatically apply a gamma correction Modifies an image to automatically apply a gamma correction accentedges Applies accented edges to an image Applies accented edges to an image anglegradient Creates a gradient effect at a specific orientation angle Creates a gradient effect at a specific orientation angle 2colorthresh Automatically thresholds an image to binary (b/w) format using an adaptive spatial subdivision color reduction technique Automatically thresholds an image to binary (b/w) format using an adaptive spatial subdivision color reduction technique denoise Reduces the noise in an image Reduces the noise in an image camerablur Blurs an image in the frequency domain using an ideal blurring filter for either motion blur or lens defocus Blurs an image in the frequency domain using an ideal blurring filter for either motion blur or lens defocus 3Dtext Converts text into an image with a 3D extrusion effect Converts text into an image with a 3D extrusion effect
    3Dcover Wraps an image around the front and left or right side of box viewed in rotated perspective Wraps an image around the front and left or right side of box viewed in rotated perspective bevelborder Applies a bevel effect to border of an image Applies a bevel effect to border of an image autolevel Modifies an image to automatically stretch the dynamic range between full black and white and automatically apply a gamma correction Modifies an image to automatically stretch the dynamic range between full black and white and automatically apply a gamma correction binomial Generates high pass or low pass filtered images based upon convolution kernels whose weights are derived from the binomial coefficients Generates high pass or low pass filtered images based upon convolution kernels whose weights are derived from the binomial coefficients autocolor Automatically color balances an image Automatically color balances an image fuzzythresh Automatically thresholds an image to binary (b/w) format using the fuzzy c-means technique Automatically thresholds an image to binary (b/w) format using the fuzzy c-means technique filmgrain Applies film grain noise to an image Applies film grain noise to an image cameradeblur Deblurs an image in the frequency domain using an ideal deblurring filter for either motion blur or lens defocus Deblurs an image in the frequency domain using an ideal deblurring filter for either motion blur or lens defocus adjoin Appends multiple images together with positional justification Appends multiple images together with positional justification
    3Dreflection Adds a fading reflection below an image and views it in perspective Adds a fading reflection below an image and views it in perspective bordereffects Creates various dispersion-like effects in the border of an image Creates various dispersion-like effects in the border of an image balance Enhances the shadows, midtones and highlight regions of the image Enhances the shadows, midtones and highlight regions of the image binomialedge Sharpens (or blurs) an image near edges using a Binomial shaped filter Sharpens (or blurs) an image near edges using a Binomial shaped filter autotone Automatically tone balances an image Automatically tone balances an image isodatathresh Automatically thresholds an image to binary (b/w) format using the isodata technique Automatically thresholds an image to binary (b/w) format using the isodata technique isonoise Reduces isolated noise in an image Reduces isolated noise in an image cepstrum Creates the cepstrum to depict the type, amount and orientation of camera type blurring in an image Creates the cepstrum to depict the type, amount and orientation of camera type blurring in an image autocaption Places text automatically in a specified square size region that has the least color variation Places text automatically in a specified square size region that has the least color variation
    3Drotate Applies a perspective distortion to an image by providing three rotation angles, zoom, offsets, background color, perspective exaggeration and auto zoom/centering Applies a perspective distortion to an image by providing three rotation angles, zoom, offsets, background color, perspective exaggeration and auto zoom/centering bordergrid Creates various grid effects in the border of an image Creates various grid effects in the border of an image bcimage Changes the brightness, contrast and/or saturation of an image Changes the brightness, contrast and/or saturation of an image corners Detects corner structures in an image Detects corner structures in an image autotone2 Automatically tone balances an image Automatically tone balances an image kapurthresh Automatically thresholds an image to binary (b/w) format using Kapur's entropy technique Automatically thresholds an image to binary (b/w) format using Kapur's entropy technique kuwahara Applies a Kuwahara type edge preserving noise reduction filter to an image Applies a Kuwahara type edge preserving noise reduction filter to an image dotproductcorr Computes the dot product correlation surface to find where a small image best matches within a larger image Computes the dot product correlation surface to find where a small image best matches within a larger image autolabel Places text automatically in a specified size region that best matches a reference color Places text automatically in a specified size region that best matches a reference color
    aspect Resizes an image to a specific size allowing either cropping or padding to deal with the aspect ratio change Resizes an image to a specific size allowing either cropping or padding to deal with the aspect ratio change bump Applies a hemispherical-like bump distortion to an image Applies a hemispherical-like bump distortion to an image derivative Applies a first directional derivative filter to an image Applies a first directional derivative filter to an image dog Create an edge extracted image using the difference of two Gaussian blurs. Create an edge extracted image using the difference of two Gaussian blurs. autowhite Automatically adjusts the white balance of an image Automatically adjusts the white balance of an image kmeansthresh Automatically thresholds an image to binary (b/w) format using the k-means technique Automatically thresholds an image to binary (b/w) format using the k-means technique morphology Performs binary or grayscale morphologic operations on an image, including dilate, erode, open and close Performs binary or grayscale morphologic operations on an image, including dilate, erode, open and close fftconvol Performs convolution on an image in the frequency domain Performs convolution on an image in the frequency domain bumptext Applies a raised text effect onto an image Applies a raised text effect onto an image
    aspectcrop Crops an image to a specified aspect ratio Crops an image to a specified aspect ratio collage Creates a multi-variant collage of the input image Creates a multi-variant collage of the input image clip Stretches the channels of an image to full black and white according to a clip amount on each end of the histogram Stretches the channels of an image to full black and white according to a clip amount on each end of the histogram dog Create an edge extracted image using the difference of two Gaussian blurs. Create an edge extracted image using the difference of two Gaussian blurs. color2alpha Creates a ramped alpha channel from the input image according to the specified color Creates a ramped alpha channel from the input image according to the specified color localthresh Automatically thresholds an image to binary (b/w) format using a moving window adaptive thresholding approach Automatically thresholds an image to binary (b/w) format using a moving window adaptive thresholding approach noisecleaner Iteratively cleans noise from an image Iteratively cleans noise from an image fftdeconvol Performs deconvolution on an image in the frequency domain Performs deconvolution on an image in the frequency domain captcha Creates a six-alphanumeric-character image for use as a challenge response test Creates a six-alphanumeric-character image for use as a challenge response test
    aspectpad Pads an image with a color to a specified aspect ratio and orientation Pads an image with a color to a specified aspect ratio and orientation contour Applies a contour outline to the image content Applies a contour outline to the image content curves Generate a smoothly interpolated, curved mapping look up table from a set of break points and applies it to an image Generate a smoothly interpolated, curved mapping look up table from a set of break points and applies it to an image edgefx Extracts the edges in an image and optionally composes them with the image to create interesting effects Extracts the edges in an image and optionally composes them with the image to create interesting effects color2gray Mixes the color channels from an image into a single grayscale image using a weighted combination Mixes the color channels from an image into a single grayscale image using a weighted combination otsuthresh Automatically thresholds an image to binary (b/w) format using Otsu's between class variance technique Automatically thresholds an image to binary (b/w) format using Otsu's between class variance technique perlin Creates an image composed of Perlin type noise Creates an image composed of Perlin type noise fftfilter Performs filtering on an image in the frequency domain Performs filtering on an image in the frequency domain cartoon Creates a cartoon-like appearance to an image Creates a cartoon-like appearance to an image
    autotrim Automatically trims the background border around a normally oriented or rotated image Automatically trims the background border around a normally oriented or rotated image crosshatch Applies a crosshatch effect to an image Applies a crosshatch effect to an image dualtonemap Enhances the shadows and/or highlight regions in an image Enhances the shadows and/or highlight regions in an image edges Applies edge extraction to image Applies edge extraction to image coloration Mixes the color channels from an image into a grayscale image and then tints it Mixes the color channels from an image into a grayscale image and then tints it ptilethresh Automatically thresholds an image to binary (b/w) format at a specified percentile on the cumulative histogram Automatically thresholds an image to binary (b/w) format at a specified percentile on the cumulative histogram statsfilt Computes various localized (neighborhood) statistical filters on an image Computes various localized (neighborhood) statistical filters on an image normcrosscorr Computes the normalized cross correlation surface to find where a small image best matches within a larger image Computes the normalized cross correlation surface to find where a small image best matches within a larger image chrome Applies a chrome effect to a binary image Applies a chrome effect to a binary image
    bilinearwarp Generates a proper four-point bilinear warp of the input image Generates a proper four-point bilinear warp of the input image davehilleffect Applies a DaveHill-like effect to an image Applies a DaveHill-like effect to an image duotonemap Enhances the shadows and/or highlight regions in an image Enhances the shadows and/or highlight regions in an image enrich Enhances an image by high pass filtering and composition Enhances an image by high pass filtering and composition colorbalance Manually color balances an image in midtones, highlights, shadows or overall Manually color balances an image in midtones, highlights, shadows or overall sahoothresh Automatically thresholds an image to binary (b/w) format using Sahoo's entropy technique Automatically thresholds an image to binary (b/w) format using Sahoo's entropy technique   notch Creates and applies a notch filter to an image in the frequency domain to remove dither patterns and other regular noise patterns Creates and applies a notch filter to an image in the frequency domain to remove dither patterns and other regular noise patterns cone Draws a cone-shaped object on an image Draws a cone-shaped object on an image
    bubblewarp Applies or reverses a warp of an image onto a bubble Applies or reverses a warp of an image onto a bubble dice Randomly rotates each successive square-sized patch in the image. Randomly rotates each successive square-sized patch in the image. endpoints Applies a Photoshop-like curves operation on an image that only adjusts the linear endpoints Applies a Photoshop-like curves operation on an image that only adjusts the linear endpoints gaussian Generates high pass or low pass filtered images based upon a Gaussian shaped convolution. Generates high pass or low pass filtered images based upon a Gaussian shaped convolution. colorbalance2 Manually color balances an image in midtones, highlights, or shadows Manually color balances an image in midtones, highlights, or shadows separate Identifies each separate white shape in a binary image Identifies each separate white shape in a binary image   phasecorr Computes the phase correlation surface to find where a small image best matches within a larger image Computes the phase correlation surface to find where a small image best matches within a larger image cosinebell Creates a cosine-bell-shaped tapered alpha channel in an image and optionally blends the image into a background image Creates a cosine-bell-shaped tapered alpha channel in an image and optionally blends the image into a background image
    centertrim Trims an image so as to preserve the image center Trims an image so as to preserve the image center disperse Applies a dispersion effect to an image Applies a dispersion effect to an image exposure Changes the exposure level of an image Changes the exposure level of an image gaussianedge Sharpens (or blurs) an image near edges using a Gaussian shaped filter Sharpens (or blurs) an image near edges using a Gaussian shaped filter colorboost Enhances the color in an under saturated image Enhances the color in an under saturated image textcleaner Processes a scanned document of text to clean the text background Processes a scanned document of text to clean the text background   rmsecorr Computes the root mean squared correlation surface to find where a small image best matches within a larger image Computes the root mean squared correlation surface to find where a small image best matches within a larger image cumhist Creates the combined grayscale cumulative histogram of one or more images Creates the combined grayscale cumulative histogram of one or more images
    conformal Applies a conformal mapping to an image Applies a conformal mapping to an image draganeffect Applies a Dragan-like effect to an image to enhance wrinkles creating a 'gritty' effect Applies a Dragan-like effect to an image to enhance wrinkles creating a 'gritty' effect histmatch Modifies one image to try to match its histogram and optionally saturation to that of another image Modifies one image to try to match its histogram and optionally saturation to that of another image gradient Applies a gradient filter to an image. Applies a gradient filter to an image. colorcells Randomly modifies the color of rectangular cells of an image Randomly modifies the color of rectangular cells of an image trianglethresh Automatically thresholds an image to binary (b/w) format using the triangle technique Automatically thresholds an image to binary (b/w) format using the triangle technique   spectrum Computes the spectrum image from the magnitude of the Fourier Transform of an image Computes the spectrum image from the magnitude of the Fourier Transform of an image entropy Computes the normalized entropy of an image channel-by-channel Computes the normalized entropy of an image channel-by-channel
    cylinderize Applies a cylinder distortion to an image so that the image is wrapped about the cylinder Applies a cylinder distortion to an image so that the image is wrapped about the cylinder emboss Applies an emboss effect to an image Applies an emboss effect to an image kneemap Creates a symmetric soft knee-shaped curved mapping look up table and applies it to an image Creates a symmetric soft knee-shaped curved mapping look up table and applies it to an image houghlines Uses the Hough Transform technique to compute and display straight lines from a binary edge image Uses the Hough Transform technique to compute and display straight lines from a binary edge image colorconverter To convert any valid ImageMagick color specification to the other ImageMagick color representations To convert any valid ImageMagick color specification to the other ImageMagick color representations whiteboard Processes a picture of a whiteboard to clean up the background and correct the perspective Processes a picture of a whiteboard to clean up the background and correct the perspective     feather Feathers (smoothes) the white-to-black transition in a binary mask image Feathers (smoothes) the white-to-black transition in a binary mask image
    cylinderwarp Applies a cylinder distortion to an image using a displacement map and arguments provided by the script cylinderize Applies a cylinder distortion to an image using a displacement map and arguments provided by the script cylinderize embroidery Applies an embroidery effect to each color in an image Applies an embroidery effect to each color in an image levels Applies a Photoshop-like levels operation on an image Applies a Photoshop-like levels operation on an image laplacian Applies a laplacian filter to an image Applies a laplacian filter to an image colorcoords Locates in the image the first location and/or last location for the closest pixel within the fuzz value to the color specified Locates in the image the first location and/or last location for the closest pixel within the fuzz value to the color specified       flicker Displays and optionally save an animation of the input images Displays and optionally save an animation of the input images
    defisheye Corrects for fisheye distortion in an image Corrects for fisheye distortion in an image frosted Applies a frosted glass effect to an image Applies a frosted glass effect to an image matchimage Matches the brightness and contrast of one image to another image Matches the brightness and contrast of one image to another image polarblur Applies a polar blur to an image Applies a polar blur to an image colorfilter Applies a photographic color filter to an image Applies a photographic color filter to an image       flickerchannel Displays and optionally save an animation of the channels in an image Displays and optionally save an animation of the channels in an image
    diagcollage Collages three images in a diagonal orientation Collages three images in a diagonal orientation furrowed Applies a furrowed-looking effect to an image to enhance wrinkles creating a "gritty" look Applies a furrowed-looking effect to an image to enhance wrinkles creating a "gritty" look omnistretch Enhances the dynamic range of brightness values and optionally saturation values in an image Enhances the dynamic range of brightness values and optionally saturation values in an image posteredges Applies posterized edges to an image Applies posterized edges to an image colorfulness Computes a metric that represents the colorfulness of an image Computes a metric that represents the colorfulness of an image       grid Superimposes a set of horizontal and/or vertical grid lines on an image Superimposes a set of horizontal and/or vertical grid lines on an image
    downsize Downsizes (reduces) an image to a specified file size Downsizes (reduces) an image to a specified file size fxtransitions Creates an animated transition between two images using a special effect distortion Creates an animated transition between two images using a special effect distortion pseudocolor Generates a pseudocolored image or pseudocolored animation from grayscale image using a rainbow colored transformation Generates a pseudocolored image or pseudocolored animation from grayscale image using a rainbow colored transformation sharp Adaptively sharpens an image or extract edges Adaptively sharpens an image or extract edges colorglow Applies a color glow effect to an image Applies a color glow effect to an image       histcompare Computes one of several metrics characterizing the difference between the histograms of two images Computes one of several metrics characterizing the difference between the histograms of two images
    fisheye Applies a fisheye distortion to an image Applies a fisheye distortion to an image glasseffects Modifies an image so that it appears to be viewed through textured and/or tiled glass Modifies an image so that it appears to be viewed through textured and/or tiled glass plm Generates a piece-wise linear mapping grayscale look up table and applies it to an image Generates a piece-wise linear mapping grayscale look up table and applies it to an image sharpedge Adaptively sharpens (or blurs) an image near edges Adaptively sharpens (or blurs) an image near edges colorspectrum Generates a spectrum-like image from the colors in an image Generates a spectrum-like image from the colors in an image       histog Generates an output image which is composed of the histograms from each channel of the input image Generates an output image which is composed of the histograms from each channel of the input image
    fisheye2pano Generates a strip panoramic image from a linear type fisheye image with optional vertical perspective correction Generates a strip panoramic image from a linear type fisheye image with optional vertical perspective correction glow Creates a glowing effect in an image Creates a glowing effect in an image redist Modifies an image so that its (grayscale) histogram has a either Gaussian, distribution or a Uniform Distribution Modifies an image so that its (grayscale) histogram has a either Gaussian, distribution or a Uniform Distribution variableblur Applies a variable blur to an image based upon a mask image Applies a variable blur to an image based upon a mask image colortemp Transforms an image's overall color balance according to a desired color temperature change Transforms an image's overall color balance according to a desired color temperature change       interleave Interleaves the channels of a single image or each image of a set of multiple images Interleaves the channels of a single image or each image of a set of multiple images
    fisheye2rect Generates a perspective (rectilinear) image from a region of a vertically viewed fisheye image Generates a perspective (rectilinear) image from a region of a vertically viewed fisheye image halo Applies a circular halo to an image Applies a circular halo to an image retinex Enhances detail and color in an image using the multiscale retinex algorithm Enhances detail and color in an image using the multiscale retinex algorithm zerocrossing Applies a zero crossing edge detector to an image Applies a zero crossing edge detector to an image colortoning Color tones an image in highlights and/or shadows and/or overall Color tones an image in highlights and/or shadows and/or overall       interweave Interleaves two images together in swaths Interleaves two images together in swaths
    hexagons Creates a hexagonal grid of the randomly rotated input image Creates a hexagonal grid of the randomly rotated input image imageborder Appends an image border by extending the outer regions of the image Appends an image border by extending the outer regions of the image shadowhighlight Adjusts the tone in shadow and highlight areas of an image Adjusts the tone in shadow and highlight areas of an image zoomblur Applies a radial or zoom blur to an image Applies a radial or zoom blur to an image dominantcolor Finds the dominant color in an image Finds the dominant color in an image       juliaset Creates a julia set fractal image Creates a julia set fractal image
    innercrop Crops an image to a rectangle that will just trim any irregularly shaped outer boundary color Crops an image to a rectangle that will just trim any irregularly shaped outer boundary color kaleidoscope Applies a kaleidoscope effect to an image Applies a kaleidoscope effect to an image sigmoidal Applies a sigmoidal brightness and/or contrast adjustment to an image Applies a sigmoidal brightness and/or contrast adjustment to an image   enhancelab Applies brightness/contrast/colorization enhancement on an image via LAB colorspace Applies brightness/contrast/colorization enhancement on an image via LAB colorspace       magicwand Isolates a contiguous region of an image based upon a color determined from a user specified image coordinate Isolates a contiguous region of an image based upon a color determined from a user specified image coordinate
    limitedtrim Trims an image on all sides to a maximum amount specified by the user Trims an image on all sides to a maximum amount specified by the user kaleidoscopic Applies a kaleidoscope effect to an image Applies a kaleidoscope effect to an image space Applies a spatially adaptive contrast (and brightness) enhancement filter to an image Applies a spatially adaptive contrast (and brightness) enhancement filter to an image   graytoning Mixes color channels from an image into a grayscale image and optionally tints it Mixes color channels from an image into a grayscale image and optionally tints it       mandelbrot Creates a mandelbrot set fractal image Creates a mandelbrot set fractal image
    lupe Applies a magnifying glass effect in a local area of an image Applies a magnifying glass effect in a local area of an image lichtenstein Applies a Roy Lichtenstein newspaper cartoon effect to an image Applies a Roy Lichtenstein newspaper cartoon effect to an image space2 Applies a spatially adaptive contrast (and brightness) enhancement filter to an image Applies a spatially adaptive contrast (and brightness) enhancement filter to an image   huemap Transforms the hues in an image from one range to another Transforms the hues in an image from one range to another       maxima Locates one or more local maxima in a grayscale image Locates one or more local maxima in a grayscale image
    meshwarp Warps an image according to a user supplied triangular mesh Warps an image according to a user supplied triangular mesh lucisarteffect Applies a LucisArt-like effect to an image Applies a LucisArt-like effect to an image stretch Modifies an image to automatically stretch the dynamic range between full black and white Modifies an image to automatically stretch the dynamic range between full black and white   isolatecolor Isolates a particular color in an image Isolates a particular color in an image       median Computes the median value of an image Computes the median value of an image
    multicrop Crops and unrotates multiple images from a scanned image Crops and unrotates multiple images from a scanned image melt Creates a melting-like blur effect in an image Creates a melting-like blur effect in an image tonemap1 Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function   kmeans Applies k-means color reduction to an image Applies k-means color reduction to an image       mesmerize Creates a mesmerizing animation from an image Creates a mesmerizing animation from an image
    multicrop2 Crops and unrotates multiple images from a scanned image Crops and unrotates multiple images from a scanned image mirrorize Creates a mirror effect in an image Creates a mirror effect in an image tonemap2 Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function   levelcolors Applies a color level transformation to an image channel-by-channel Applies a color level transformation to an image channel-by-channel       mode Computes the mode value of an image Computes the mode value of an image
    overlapcrop Creates a sequence of cropped subsections permitting optional overlap of the subsections Creates a sequence of cropped subsections permitting optional overlap of the subsections mosaictiles Applies a mosaic tiles effect to image Applies a mosaic tiles effect to image tonemap3 Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function   locatecolors Modifies an image showing only those pixels which are within the specified color range Modifies an image showing only those pixels which are within the specified color range       moments Computes shift, scale and rotation invariant image moments as well as elliptical shape descriptors Computes shift, scale and rotation invariant image moments as well as elliptical shape descriptors
    pano2fisheye Transforms a spherical panorama to a fisheye view Transforms a spherical panorama to a fisheye view mottle Applies various mottle effects to an image Applies various mottle effects to an image tonemap4 Enhances the shadows and/or highlight regions in an image using a dual gamma function plus an extra processing function Enhances the shadows and/or highlight regions in an image using a dual gamma function plus an extra processing function   mapcolors Maps or translates one set of colors in an image to another set of colors Maps or translates one set of colors in an image to another set of colors       multigradient Creates either a linear or radial gradient image with two or more color stops Creates either a linear or radial gradient image with two or more color stops
    pano2rect Applies vertical perspective correction to an angular panoramic image Applies vertical perspective correction to an angular panoramic image nightvision Simulates a picture as viewed through night vision goggles Simulates a picture as viewed through night vision goggles xposure Changes the exposure level of an image by photographic stops Changes the exposure level of an image by photographic stops   maxrgb Converts an RGB image to keep only the channel with the maximum value at each pixel Converts an RGB image to keep only the channel with the maximum value at each pixel       neg2pos Converts from a (scanned film) negative image to a positive image Converts from a (scanned film) negative image to a positive image
    peelingpaint Applies a peeling paint effect to an image Applies a peeling paint effect to an image ortoneffect Applies an Orton effect to an image Applies an Orton effect to an image     midtonebalance Color balances an image in the midtones in a manner similar to Photoshop Color balances an image in the midtones in a manner similar to Photoshop       negative2positive Converts from a (scanned film) negative image to a positive image Converts from a (scanned film) negative image to a positive image
    pinbarrel Applies or corrects pincushion and/or barrel lens distortion to an image Applies or corrects pincushion and/or barrel lens distortion to an image pagecurl Applies a pagecurl effect to the lower right corner of an image Applies a pagecurl effect to the lower right corner of an image     modulatecolor1 Changes brightness, saturation and/or hue for any primary or secondary color in an image Changes brightness, saturation and/or hue for any primary or secondary color in an image       phashcompare Compares two 168 digit phash strings to compute a phash metric Compares two 168 digit phash strings to compute a phash metric
    polar Applies either a rectangular (cartesian) to polar transformation or a polar to rectangular (cartesian) transformation on an image Applies either a rectangular (cartesian) to polar transformation or a polar to rectangular (cartesian) transformation on an image pagepeel Applies a pagepeel effect to the lower right corner of an image Applies a pagepeel effect to the lower right corner of an image     modulatecolor2 Changes brightness, saturation and/or hue for any primary or secondary color in an image Changes brightness, saturation and/or hue for any primary or secondary color in an image       phashconvert Converts the 42 phash float values for an image to a string of 168 digits Converts the 42 phash float values for an image to a string of 168 digits
    rotate3D Applies a perspective distortion to an image by providing three rotation angles and an optional perspective exaggeration Applies a perspective distortion to an image by providing three rotation angles and an optional perspective exaggeration painteffect Applies a paint type effect to an image Applies a paint type effect to an image     nearestcolor Finds the nearest color value in an image to a reference color Finds the nearest color value in an image to a reference color       picframe Adds a picture frame around an image Adds a picture frame around an image
    shapemorph Create a shape morphing animation sequence between two images Create a shape morphing animation sequence between two images perforations Applies film-like perforations to two opposite edges of an image Applies film-like perforations to two opposite edges of an image     plmlut Generates a piece-wise linear mapping grayscale look up table Generates a piece-wise linear mapping grayscale look up table       plot Generates a profile of an image row or column or an image histogram. Generates a profile of an image row or column or an image histogram.
    shapemorph2 Create a shape morphing animation sequence between two images Create a shape morphing animation sequence between two images picturefold Applies a map-like folded appearance to an image Applies a map-like folded appearance to an image     popart Creates a pop art style image Creates a pop art style image       plot3D Generates a 3D plot of a single channel or grayscale image Generates a 3D plot of a single channel or grayscale image
    skew Applies a skew distortion to an image Applies a skew distortion to an image pip Creates a picture-in-picture effect Creates a picture-in-picture effect     redeye Removes redeye from an image Removes redeye from an image       profile Generates a profile of an image row or column Generates a profile of an image row or column
    smartcrop Automatically crops an image to a given size around the hightest detail region Automatically crops an image to a given size around the hightest detail region pixelize Creates a pixelized or blocky effect in an image Creates a pixelized or blocky effect in an image     remap Remaps the colors in an image using a 3D color distance metric relative to a color table map image Remaps the colors in an image using a 3D color distance metric relative to a color table map image       radialgradient Creates a radial gradient image Creates a radial gradient image
    smarttrim Automatically trims an image around the region of highest detail in the image Automatically trims an image around the region of highest detail in the image postagestamp Applies a perforated postage stamp like border around an image Applies a perforated postage stamp like border around an image     removecolorcast Removes a color cast from an image Removes a color cast from an image       randomblob Creates an image composed of a moderate sized black random blob shape on a white background Creates an image composed of a moderate sized black random blob shape on a white background
    sphere Creates a colored sphere with a combination of diffuse and specular illumination Creates a colored sphere with a combination of diffuse and specular illumination puzzle Applies a puzzle like effect to an image Applies a puzzle like effect to an image     replacecolor Changes one color to another color in an image Changes one color to another color in an image       similar Computes the normalized cross correlation similarity metric between two equal dimensioned images Computes the normalized cross correlation similarity metric between two equal dimensioned images
    spherize Warps an image onto a (hemi-)sphere Warps an image onto a (hemi-)sphere randomclipart Randomly distributes clip art over the image Randomly distributes clip art over the image     saturation Changes the color saturation in an image Changes the color saturation in an image       splitimage Generates a side-by-side append of two partial images with an option to animate the amount of each image used in the append Generates a side-by-side append of two partial images with an option to animate the amount of each image used in the append
    splitcrop Crops an image into two or four sections according to the given x,y coordinates Crops an image into two or four sections according to the given x,y coordinates recursion Creates a recursive affine composite effect in an image Creates a recursive affine composite effect in an image     scatter Generates a channel-by-channel scatter diagram between two images. Generates a channel-by-channel scatter diagram between two images.       ssim Computes the structural similarity metric between two equal sized images Computes the structural similarity metric between two equal sized images
    squareup Resizes an image and squares it up either by padding or cropping Resizes an image and squares it up either by padding or cropping reflect Splits an image, reflects each side and appends them to form horizontally symmetric images Splits an image, reflects each side and appends them to form horizontally symmetric images     scatterchannels Generates a scatter diagram between channels of an image Generates a scatter diagram between channels of an image       stdimage Computes a pixel-by-pixel standard deviation or variance image from multiple input images Computes a pixel-by-pixel standard deviation or variance image from multiple input images
    textdeskew Unrotates (deskews) an image containing text Unrotates (deskews) an image containing text ripples Applies various circular ripple effects to an image Applies various circular ripple effects to an image     slice Thresholds an image (inclusively) between a range of graylevels and optionally colorizes inside and/or outside the threshold range Thresholds an image (inclusively) between a range of graylevels and optionally colorizes inside and/or outside the threshold range       texteffect Convert text to an image after applying various effects, styling and color Convert text to an image after applying various effects, styling and color
    tinyplanet Transforms a spherical panorama to a linear fisheye view Transforms a spherical panorama to a linear fisheye view screeneffects Applies screen-like effects to an image Applies screen-like effects to an image     spectrumhist Creates either a color spectrum or histogram of the colors in an image Creates either a color spectrum or histogram of the colors in an image       texteffect2 Converts large size text to an image with color, effects and styling Converts large size text to an image with color, effects and styling
    trimmer Trims the background from any number of specified sides of an image Trims the background from any number of specified sides of an image shapecluster Creates a division of the image into 5 separated rectangular regions Creates a division of the image into 5 separated rectangular regions     splittone1 Applies a color splittone effect to an image Applies a color splittone effect to an image       thresholds Applies one or two thresholds to an image. Applies one or two thresholds to an image.
    tshirt Transforms an image to place it in a region of a tshirt image Transforms an image to place it in a region of a tshirt image shuffle Randomly shuffles positions of square sized tiles in an image Randomly shuffles positions of square sized tiles in an image     splittone2 Applies a color splittone effect to an image Applies a color splittone effect to an image       tileimage Tiles an image to a given size with various tile arrangements Tiles an image to a given size with various tile arrangements
    tshirtwarp Transforms an image to place it in a region of a tshirt image using a lighting file, a displacement map and arguments provided by the script tshirt Transforms an image to place it in a region of a tshirt image using a lighting file, a displacement map and arguments provided by the script tshirt sketch Applies a sketch effect to an image Applies a sketch effect to an image     splittone3 Applies a color splittone effect to an image Applies a color splittone effect to an image       tiler Converts an image into a tilable texture Converts an image into a tilable texture
    turn Simultaneously rotates and crops an image to eliminate any background Simultaneously rotates and crops an image to eliminate any background sketcher Applies a sketch effect to an image Applies a sketch effect to an image     tintilize Applies a color tint to the mid-range of a grayscale image Applies a color tint to the mid-range of a grayscale image       woodgrain Simulates a woodgrain texture Simulates a woodgrain texture
    unperspective Automatically removes pespective distortion from an image Automatically removes pespective distortion from an image sketchetch Creates an etch-like sketch from an image. Creates an etch-like sketch from an image.     transfercolor Transfers the coloring from one image to another image Transfers the coloring from one image to another image        
    unrotate Automatically unrotates a rotated image and trims the surrounding border Automatically unrotates a rotated image and trims the surrounding border sketching Applies a sketch effect to an image. Applies a sketch effect to an image.     tricolorize Smoothly colorizes a grayscale image with either one, two or three different colors Smoothly colorizes a grayscale image with either one, two or three different colors        
      slantedlight Applies slanted lighting to an image. Applies slanted lighting to an image.     uwcorrect Corrects the color balance for red light attenuation in pictures taken underwater Corrects the color balance for red light attenuation in pictures taken underwater        
      softfocus Applies a softfocus effect to an image Applies a softfocus effect to an image     vibrance Applies a non-linear change to the saturation of an image Applies a non-linear change to the saturation of an image        
      softlight Applies soft light to an image Applies soft light to an image     warholeffect Creates an Andy Warhol style colorization image Creates an Andy Warhol style colorization image        
      splice Applies a jagged cut and splice effect to an image Applies a jagged cut and splice effect to an image     wavemap Transforms the graylevels in each RGB channel according to a sinusoidal wave function Transforms the graylevels in each RGB channel according to a sinusoidal wave function        
      spots Converts the image into a series of uniform-colored spots Converts the image into a series of uniform-colored spots     whitebalance Transform an image's overall color balance according to a desired change in a specified white point color Transform an image's overall color balance according to a desired change in a specified white point color        
      stainedglass Applies a stained glass cell effect to an image Applies a stained glass cell effect to an image              
      starburst Applies a starburst pattern to an image Applies a starburst pattern to an image              
      striations Applies radial or circular striations to image Applies radial or circular striations to image              
      stutter Creates a 'stuttered' offset-like effect in an image Creates a 'stuttered' offset-like effect in an image              
      textdistort Distorts repeated text to warp it to the shape of the image content Distorts repeated text to warp it to the shape of the image content              
      texturize Creates a texture pattern and optionally applies it to the background of an input image Creates a texture pattern and optionally applies it to the background of an input image              
      thermography Simulates a picture taken with a thermal imaging camera Simulates a picture taken with a thermal imaging camera              
      tiltshift Applies a tiltshift effect to an image Applies a tiltshift effect to an image              
      toon Applies a cartoon effect to an image Applies a cartoon effect to an image              
      toycamera Simulates pictures taken by lomographic or holga type toy cameras Simulates pictures taken by lomographic or holga type toy cameras              
      transitions Applies an animated transition between two images Applies an animated transition between two images              
      tunnelize Creates a tunnel-like effect on an image Creates a tunnel-like effect on an image              
      vignette Applies a vignette effect to a picture Applies a vignette effect to a picture              
      vignette2 Applies a vignette effect to a picture Applies a vignette effect to a picture              
      vignette3 Applies a vignette effect to a picture Applies a vignette effect to a picture              
      vintage1 Applies a classic blue-green vintage effect to an image Applies a classic blue-green vintage effect to an image              
      vintage2 Applies a colorful vintage effect to an image Applies a colorful vintage effect to an image              
      vintage3 Applies an old, heritage style vintage effect to an image Applies an old, heritage style vintage effect to an image              
      watercolor Applies a watercolor effect to an image Applies a watercolor effect to an image              
      woodcut Applies a woodcut effect to an image Applies a woodcut effect to an image              


    2colorthresh

    Automatically thresholds an image to binary (b/w) format using an adaptive spatial subdivision color reduction technique.


    last modified: November 03, 2015

    original

    thresholded

     


    3Dbox

    Generates a perspective view of a 3D box at any orientation with pictures pasted on each of its sides


    last modified: February 23, 2017

    example 1

    example 2

    example 1:
    pan=45 degrees
    tilt=-45 degrees

    example 2:
    pan=45 degrees
    tilt=-30 degrees



    3Dcover

    Wraps an image around the front and left or right side of box viewed in rotated perspective


    last modified: May 03, 2017

    original

    example 1

    example 2



    3Dreflection

    Adds a fading reflection below an image and views it in perspective.


    last modified: October 08, 2014

    original

    reflected



    3Drotate

    Applies a perspective distortion to an image by providing rotation angles, zoom and offsets.


    last modified: March 21, 2017

    original

    modified

    pan=45 degrees
    tilt=45 degrees
    zoom=-1.5



    3Dtext

    Converts text into an image with a 3D extrusion effect.


    last modified: January 29, 2015



    accentedges

    Applies accented edges to an image.


    last modified: October 09, 2014

    original
    image

    black
    edges

    white
    edges



    adjoin

    Appends multiple images together with positional justification.


    last modified: October 09, 2014

    3 center aligned appended images



    anglegradient

    Creates a gradient effect at a specific orientation angle.


    last modified: November 05, 2014

    standard gray

    red 30 degrees



    aspect

    Resizes an image to a specific size allowing either cropping or padding to deal with the aspect ratio change.


    last modified: October 12, 2014

    original

    cropped

    padded



    aspectcrop

    Crops an image to a specified aspect ratio.


    last modified: October 12, 2014

    original (0.80)

    aspect (1:1=>1.00)

    aspect (1:2=>0.50)



    aspectpad

    Pads an image with a color to a specified aspect ratio and orientation.


    last modified: November 02, 2016

    original (3:2)

    aspect (2:1)

    aspect (4:3)



    autocaption

    Places text automatically in a specified square size region that has the least color variation.


    last modified: October 01, 2015

    original
    image

    captioned
    image

     


    autocolor

    Automatically color balances an image.


    last modified: November 06, 2014

    original
    image

    color
    adjusted

     


    autogamma

    Modifies an image to automatically apply a gamma correction.


    last modified: November 06, 2014

    original
    image

    colormode
    luminance

    colormode
    rgb



    autolabel

    Places text automatically in a specified size region that best matches a reference color.


    last modified: October 13, 2014

    original
    image

    label
    mode

    caption
    mode



    autolevel

    Modifies an image to automatically stretch the dynamic range between full black and white and automatically apply a gamma correction.


    last modified: November 06, 2014

    original
    image

    colormode
    luminance

    colormode
    rgb



    autotone

    Automatically tone balances an image.


    last modified: May 03, 2016

    original

    processed

     


    autotone2

    Automatically tone balances an image.


    last modified: June 05, 2016

    original

    processed

     


    autotrim

    Automatically trim the background border around a normally oriented or rotated image.


    last modified: October 02, 2015

    original

    trimmed

     


    autowhite

    Automatically adjusts the white balance of an image.


    last modified: April 25, 2015

    original

    method 1

    method 2



    balance

    Enhances the shadows, midtones and highlight regions of the image.


    last modified: April 25, 2015

    original

    example 1

    example 2



    bcimage

    Changes the brightness, contrast and/or saturation of an image


    last modified: April 25, 2015


    original


    enhanced

    mapping graph



    bcmatch

    Modifies one image to try to match its brightness, contrast and optionally saturation to that of another image


    last modified: April 25, 2015

    reference
    image

    dark
    image

    enhanced
    image



    bevel

    Applies an inner bevel or outer bevel or emboss effect to an image.


    last modified: September 12, 2015

    original
    image

    inner
    bevel

    outer
    bevel



    bevelborder

    Applies a bevel effect to the border of an image.


    last modified: April 25, 2015

    original
    image

    outer
    bevel

    inner
    bevel



    bilinearwarp

    Generates a proper four-point bilinear warp of the input image.


    last modified: April 25, 2015

    original

    warped

     


    binomial

    Generates high pass or low pass filtered images using a convolution kernel whose weights are derived from the binomial coefficients.


    last modified: April 29, 2015

    original
    image

    high pass
    sharpened image

    low pass
    blurred image



    binomialedge

    Sharpens (or blurs) an image near edges using a Binomial shaped filter.


    last modified: April 25, 2015

    original
    image

    sharpening
    near edges

    sharpening
    everywhere



    bordereffects

    Creates various dispersion-like effects in the border of an image.


    last modified: April 25, 2015

    original

    example 1

    example 2



    bordergrid

    Creates various grid effects in the border of an image.


    last modified: April 25, 2015

    original

    example 1

    example 2



    bubblewarp

    Applies or reverses a warp of an image onto a bubble.


    last modified: April 25, 2015

    original
    image

    polar warp
    (arcsin)

    rect warp
    (arcsin)



    bump

    Applies a hemispherical-like bump distortion to an image.


    last modified: April 25, 2015

    original

    bump

    masked bump



    bumptext

    Applies a raised text effect onto an image.


    last modified: April 25, 2015

    original

    example 1

    example 2



    camerablur

    Blurs an image in the frequency domain using an ideal blurring filter for either motion blur or lens defocus.


    last modified: September 12, 2015

    original

    motion blur

    defocus



    cameradeblur

    Deblurs an image in the frequency domain using an ideal deblurring filter for either motion blur or lens defocus.


    last modified: November 20, 2015

    original
    motion blurred

    deblurred
     

     


    captcha

    Creates a six-alphanumeric-character image for use as a challenge response test.


    last modified: April 25, 2015



    cartoon

    Creates a cartoon-like appearance to an image.


    last modified: February 19, 2017

    original

    cartoon

     




    centertrim

    Trims an image so as to preserve the image center.


    last modified: April 25, 2015

    original

    trimmed



    cepstrum

    Creates the cepstrum to depict the type, amount and orientation of camera type blurring in an image.


    last modified: July 19, 2015

    defocused
    image






    cepstrum
    image

     


    chrome

    Applies a chrome effect to a binary image.


    last modified: April 25, 2015

    original

    example 1

    example 2



    clip

    Stretches the channels of an image to full black and white according to a clip amount on each end of the histogram.


    last modified: April 25, 2015

    original
    image

    colormode
    I

    colormode
    RGB



    collage

    Stretches the channels of an image to full black and white according to a clip amount on each end of the histogram.


    last modified: June 12, 2016



    color2alpha

    Creates a ramped alpha channel from the input image according to the specified color


    last modified: April 25, 2015

    original
    image

    alpha
    added

    color
    replaced



    color2gray

    Mixes the color channels from an image into a single grayscale image using a weighted combination.


    last modified: April 25, 2015

    original
    image

    weighted
    add

    colorspace
    hsl



    coloration

    Mixes the color channels from an image into a grayscale image and then tints it.


    last modified: November 29, 2016

    original

    red

    cyan



    colorbalance

    Manually color balances an image in midtones, highlights, shadows or overall.


    last modified: April 25, 2015

    original
    image

    red
    all

    red
    midtones



    colorbalance2

    Manually color balances an image in midtones, highlights, or shadows.


    last modified: June 19, 2015

    original
    image

    red
    midtones

     


    colorboost

    Enhances the color in an under saturated image.


    last modified: April 25, 2015

    original

    enhanced

     


    colorcells

    Randomly modifies the color of rectangular cells of an image.


    last modified: May 18, 2017

    original

    modified

     


    colorconverter

    To convert any valid ImageMagick color specification to the other ImageMagick color representations.


    last modified: August 18, 2015

     


    colorcoords

    Locates in the image the first location and/or last location for the closest pixel within the fuzz value to the color specified.


    last modified: April 25, 2015

    image

    color="rgb(234,43,44)"; fuzzval=15%

    First Location = 42,11
    Last Location = 118,122



    colorfilter

    Applies a photographic color filter to an image.


    last modified: September 12, 2015

    original

    filtered

     


    colorfulness

    Computes a metric that represents the colorfulness of an image.


    last modified: June 12, 2017

    0 (0)

    31.0724 (0.38361)

    69.4047 (0.856848)



    colorglow

    Applies a color glow effect to an image.


    last modified: April 30, 2015

    original

    processed

     


    colorspectrum

    Generates a spectrum-like image from the colors in an image.


    last modified: August 17, 2015

    original
    image



    spectrum
    image

     


    colortemp

    Transforms an image's overall color balance according to a desired color temperature change.


    last modified: April 25, 2015

    original
    image

    5000 deg K
     

    8000 deg K
     



    colortoning

    Color tones an image in highlights and/or shadows and/or overall.


    last modified: April 25, 2015

    original

    result

     



    cone

    Draws a cone-shaped object on an image


    last modified: April 25, 2015


    method 1


    method2

     

     



    conformal

    Applies a conformal mapping to an image


    last modified: February 15, 2017

    original

    result

     

     



    contour

    Applies a contour outline to the image content


    last modified: April 04, 2017

    original

    result

     

     



    corners

    Detects corner structures in an image


    last modified: January 27, 2017

    original

    result

     

     



    cosinebell

    Creates a cosine-bell-shaped tapered alpha channel in an image and optionally blends the image into a background image.


    last modified: November 23, 2015


    image 1


    image 2


    composite



    crosshatch

    Applies a crosshatch effect to an image


    last modified: April 25, 2015

    original

    processed

     

     



    crossprocess

    Applies a color crossprocessing effect to an image


    last modified: April 25, 2015

    original

    processed



    cumhist

    Creates the combined grayscale cumulative histogram of one or more images


    last modified: April 25, 2015


    original

    normal

    complemented



    curves

    Generate a smoothly interpolated, curved mapping look up table from a set of break points and applies it to an image


    last modified: January 14, 2016


    original


    modified

    mapping graph



    cylinderize

    Applies a cylinder distortion to an image so that the image is wrapped about the cylinder


    last modified: April 24, 2017


    original


    cylinderized


    cylinderized



    cylinderwarp

    Applies a cylinder distortion to an image using a displacement map and arguments provided by the script cylinderize


    last modified: September 20, 2015


    original


    result


    animation



    davehilleffect

    Applies a DaveHill-like effect to an image.


    last modified: April 29, 2015

    original

    enhanced



    defisheye

    Corrects for fisheye distortion in an image.


    last modified: April 25, 2015

    original
    fisheye

    corrected
    perspective

     


    denoise

    Reduces the noise in an image.


    last modified: April 29, 2015

    noisy
    image

    denoised
    image

     


    derivative

    Applies a first directional derivative filter to an image to extract certain edges.


    last modified: April 25, 2015

    original
    image

    45 degree
    derivative

    225 degree
    derivative



    diagcollage

    Collages three images in a diagonal orientation


    last modified: June 22, 2017

    image1

    image2

    image3

    result



    dice

    Randomly rotates each successive square-sized patch in the image.


    last modified: October 25, 2016

    original

    diced



    disperse

    Applies a dispersion effect to an image


    last modified: April 25, 2015

    original

    example 1

    example 2



    dog

    Create an edge extracted image using the difference of two Gaussian blurs


    last modified: April 25, 2015

    original

    edges

    thresholded



    dominantcolor

    Finds the dominant color in an image


    last modified: October 26, 2016

    original

    exclude
    black

    high
    saturation
    & brightness



    dotproductcorr

    Computes the dot product correlation surface to find where a small image best matches within a larger image.


    last modified: July 11, 2017





    small
    image

    large
    image

    correlation
    image

    match
    location



    downsize

    Downsizes (reduces) an image to a specified file size


    last modified: March 05, 2017

     


    draganeffect

    Applies a Dragan-like effect to an image to enhance wrinkles creating a 'gritty' effect.


    last modified: April 29, 2015

    original

    enhanced



    dualtonemap

    Enhances the shadows and/or highlight regions in an image.


    last modified: April 25, 2015

    original

    enhanced

     


    duotonemap

    Enhances the shadows and/or highlight regions in an image.


    last modified: April 25, 2015

    original

    enhanced

     


    edgefx

    Extracts the edges in an image and optionally composes them with the image to create interesting effects


    last modified: April 25, 2015



    edges

    Applies edge extraction to image


    last modified: April 25, 2015

     


    emboss

    Applies an emboss effect to an image


    last modified: April 25, 2015

    original

    method 1

    method 2



    embroidery

    Applies an embroidery effect to each color in an image


    last modified: June 29, 2017

    original

    processed



    endpoints

    Applies a Photoshop-like curves operation on an image that only adjusts the linear endpoints


    last modified: June 06, 2015

    original

    result

     


    enhancelab

    Enhances an image by high pass filtering and composition


    last modified: April 25, 2015

    original

    enhanced

     


    enrich

    Enhances an image by high pass filtering and composition


    last modified: January 12, 2017

    original

    enriched



    entropy

    Computes the normalized entropy of an image channel-by-channel


    last modified: April 25, 2015

    original

    Red Entropy = 0.92939
    Green Entropy = 0.983668
    Blue Entropy = 0.980503
    Average RGB Entropy = 0.96452



    exposure

    Changes the exposure level of an image


    last modified: April 25, 2015

    original

    brighter

    darker



    feather

    Feathers (smoothes) the white-to-black transition in a binary mask image.


    last modified: April 25, 2015

    binary
    mask

    feathered
    mask

    feathered composite



    fftconvol

    Performs convolution on an image in the frequency domain.


    last modified: September 12, 2015

    original

    motion blur filter

    result



    fftdeconvol

    Performs deconvolution on an image in the frequency domain.


    last modified: September 12, 2015

    original

    motion blur filter

    result



    fftfilter

    Performs filtering on an image in the frequency domain.


    last modified: September 12, 2015

    original

    notch filter

    result



    filmgrain

    Applies film grain noise to an image.


    last modified: April 25, 2015

    original

    processed

     


    fisheye

    Applies a fisheye distortion to an image.


    last modified: April 25, 2015

    original
    perspective

    linear
    fisheye

     


    fisheye2pano

    Generates a strip panoramic image from a linear type fisheye image with optional vertical perspective correction.


    last modified: April 25, 2015

    fisheye




    panorama



    fisheye2rect

    Generates a perspective (rectilinear) image from a region of a vertically viewed fisheye image.


    last modified: April 25, 2015

    fisheye



    perspective

     


    flicker

    Displays and optionally save an animation of the input images.


    last modified: April 25, 2015

    original
    image

    sharpened
    image

    flicker
    animation



    flickerchannel

    Displays and optionally save an animation of the channels in an image.


    last modified: April 25, 2015


    original
    image

    rgb
    animation

    hsl
    animation



    frosted

    Applies a frosted glass effect to an image.


    last modified: April 25, 2015

    original

    frosted

     


    furrowed

    Applies a furrowed-looking effect to an image to enhance wrinkles creating a "gritty" look.


    last modified: December 28, 2015

    original

    furrowed

     


    fuzzythresh

    Automatically thresholds an image to binary (b/w) format using the fuzzy c-means technique.


    last modified: November 03, 2015

    original

    thresholded

     


    fxtransitions

    Creates an animated transition between two images using a special effect distortion


    last modified: August 12, 2015

    image 1

    image 2

    transition



    gaussian

    Generates high pass or low pass filtered images based upon a Gaussian shaped convolution.


    last modified: April 25, 2015

    original
    image

    high pass
    sharpened image

    low pass
    blurred image



    gaussianedge

    Sharpens (or blurs) an image near edges using a Gaussian shaped filter.


    last modified: April 25, 2015

    original
    image

    sharpening
    near edges

    sharpening
    everywhere



    glasseffects

    Modifies an image so that it appears to be viewed through textured and/or tiled glass.


    last modified: April 25, 2015

    original
    image

    displace
    grid

    overlay
    grid



    glow

    Creates a glowing effect in an image


    last modified: April 25, 2015

    original

    Glow

    Soft Glow



    gradient

    Applies a gradient filter to an image to extract edges.


    last modified: April 29, 2015

    original
    image

    gradient
     

    gradient
    thresholded



    graytoning

    Mixes color channels from an image into a grayscale image and optionally tints it.


    last modified: April 25, 2015

    original
    image

    graytone
     

    graytone
    tinted



    grid

    Superimposes a set of horizontal and/or vertical grid lines on an image.


    last modified: May 20, 2017

    original
    image

    black
    grid

    white
    grid



    halo

    Applies a circular halo to an image.


    last modified: April 25, 2015

    original

    halo 1

    halo 2



    hexagons

    Creates a hexagonal grid of the randomly rotated input image.


    last modified: December 16, 2016

    original

    no borders

    with borders



    histcompare

    Computes one of several metrics characterizing the difference between the histograms of two images.


    last modified: April 25, 2015

    large
    image

    small
    image

    global correlation
    0.766422



    histmatch

    Modifies one image to try to match its histogram and optionally saturation to that of another image


    last modified: April 25, 2015

    reference
    image

    dark
    image

    enhanced
    image



    histog

    Generates an output image which is composed of the histograms from each channel of the image, with options for labeling and color presentation scheme.


    last modified: April 25, 2015

    original

    histogram

    histogram



    houghlines

    Uses the Hough Transform technique to compute and display straight lines from a binary edge image.


    last modified: June 22, 2016

    edges

    lines

    overlaid



    huemap

    Transforms the hues in an image from one range to another.


    last modified: September 12, 2015

    original

    processed



    imageborder

    Appends an image border by extending the outer regions of the image.


    last modified: April 25, 2015


    original

    result

     


    innercrop

    Crops an image to a rectangle that will just trim any irregularly shaped outer boundary color.


    last modified: June 22, 2015

    original
    image

    cropping
    box

    cropped
    image



    interleave

    Interleaves the channels of a single image or each image of a set of multiple images.


    last modified: April 25, 2015

    original

    result

     


    interweave

    Interleaves two images together in swaths.


    last modified: April 25, 2015

    image 1

    image 2

    result



    isodatathresh

    Automatically thresholds an image to binary (b/w) format using the isodata technique.


    last modified: November 03, 2015

    original

    thresholded

     


    isolatecolor

    Isolates a particular color in an image.


    last modified: January 28, 2016

    original

    processed

     



    isonoise

    Reduces isolated noise in an image.


    last modified: April 25, 2015

    noisy image

    isonoise filtered

     



    juliaset

    Creates a julia set fractal image


    last modified: December 06, 2016



    kaleidoscope

    Applies a kaleidoscope effect to an image


    last modified: April 25, 2015

    original

    3 sides; edge

    3 sides; mirror



    kaleidoscopic

    Applies a kaleidoscope effect to an image


    last modified: April 25, 2015

    original

    image

    disperse

    random



    kapurthresh

    Automatically thresholds an image to binary (b/w) format using Kapur's entropy technique.


    last modified: November 03, 2015

    original

    thresholded

     


    kmeans

    Applies k-means color reduction to an image.


    last modified: August 05, 2017

    original

    5 colors

    7 colors



    kmeansthresh

    Automatically thresholds an image to binary (b/w) format using the k-means technique.


    last modified: March 19, 2016

    original

    thresholded

     


    kneemap

    Creates a symmetric soft knee-shaped curved mapping look up table and applies it to an image


    last modified: April 25, 2015


    original


    brightened

    mapping graph



    kuwahara

    Applies a Kuwahara type edge preserving noise reduction filter to an image


    last modified: April 25, 2015


    original


    processed

     


    laplacian

    Applies a laplacian filter to an image to extract edges or sharpen the image.


    last modified: April 25, 2015

    original
    image

    sharpened
    image

    laplacian



    levelcolors

    Applies a color level transformation to an image channel-by-channel.


    last modified: April 25, 2015

    original
    image

    increased
    contrast

    negated
    image



    levels

    Applies a Photoshop-like levels operation on an image.


    last modified: June 04, 2015

    original
     

    increase
    contrast

    decrease
    contrast



    lichtenstein

    Applies a Roy Lichtenstein newspaper cartoon effect to an image.


    last modified: April 25, 2015

    original

    processed

     


    limitedtrim

    Trims an image on all sides by a maximum amount specified by the user.


    last modified: April 25, 2015

    original

    trimmed



    localthresh

    Thresholds an image to binary (b/w) format using a moving window adaptive thresholding approach.


    last modified: November 03, 2015

    original

    thresholded

     


    locatecolors

    Modifies an image to show only those pixels which are within the specified color range.


    last modified: April 25, 2015

    original

    modified

    Colors In Range
    "rgb(155,0,0)"
    to
    "rgb(255,70,50)"


    lucisarteffect

    Applies a LucisArt-like effect to an image.


    last modified: April 25, 2015

    original
    image

    lucisart
    effect



    lupe

    Applies a magnifying glass effect in a local area of an image.


    last modified: April 25, 2015

    original
    image

    circle
    lupe

    square
    lupe



    magicwand

    Isolates a contiguous region of an image based upon a color determined from a user specified image coordinate.


    last modified: April 30, 2015

    original
    image

    color
    change

    boundary
    edge



    mandelbrot

    Creates a mandelbrot set fractal image


    last modified: December 05, 2016



    mapcolors

    Maps or translates one set of colors in an image to another set of colors


    last modified: April 25, 2015

    original

    color mapped



    matchimage

    Matches the brightness and contrast of one image to another image


    last modified: January 14, 2017

    image1

    image2

    1 matched to 2



    maxima

    Locates one or more local maxima in a grayscale image


    last modified: June 17, 2017

    original

    Masked

    Coordinates
    With Graylevel

    82,11 gray=83.1373%
    40,13 gray=80%



    maxrgb

    Converts an RGB image to keep only the channel with the maximum value at each pixel


    last modified: September 04, 2016

    original

    maxrgb



    median

    Computes the median value of an image


    last modified: April 25, 2015

    gray: 146



    melt

    Creates a melting-like blur effect in an image


    last modified: April 25, 2015

    original

    South

    East



    meshwarp

    Warps an image according to a user supplied triangular mesh


    last modified: April 25, 2015

    original

    warped

    animation



    mesmerize

    Creates a mesmerizing animation from an image.


    last modified: November 24, 2016

    original

    processed



    midtonebalance

    Creates a mirror effect in an image


    last modified: April 25, 2015

    original

    blue

    green



    mirrorize

    Creates a mirror effect in an image


    last modified: April 25, 2015

    original

    West

    NorthEast



    mode

    Computes the mode value of an image


    last modified: April 25, 2015

    color: srgb(158,139,131)



    modulatecolor1

    Changes brightness, saturation and/or hue for any primary or secondary color in an image.


    last modified: December 16, 2015

    original image

    processed green to red



    modulatecolor2

    Changes brightness, saturation and/or hue for any primary or secondary color in an image.


    last modified: December 16, 2015

    original image

    processed green to red



    moments

    Computes shift, scale and rotation invariant image moments as well as elliptical shape descriptors


    last modified: April 25, 2015

     


    morphology

    Performs binary or grayscale morphologic operations on an image, including dilate, erode, open and close.


    last modified: April 25, 2015

    original
    image

    close
     

    open



    mosaictiles

    Applies a mosaic tiles effect to image.


    last modified: April 25, 2015

    original

    processed



    mottle

    Applies various mottle effects to an image.


    last modified: April 25, 2015

    original
    image

    displace
     

    blend
     



    multicrop

    Crops and unrotates multiple images from a scanned image.


    last modified: January 21, 2017

    original
    image

    left
    image

    right
    image



    multicrop2

    Crops and unrotates multiple images from a scanned image.


    last modified: December 30, 2015

    original
    image

    left
    image

    right
    image



    multigradient

    Creates either a linear or radial gradient image with two or more color stops


    last modified: October 09, 2015

    linear

    circle

    ellipse



    nearestcolor

    Finds the nearest color value in an image to a reference color


    last modified: April 25, 2015

    original


    output
    swatches



    neg2pos

    Converts from a (scanned film) negative image to a positive image.


    last modified: December 15, 2016

    negative

    positive

     


    negative2positive

    Converts from a (scanned film) negative image to a positive image.


    last modified: June 20, 2015

    negative

    positive

     


    nightvision

    Simulates a picture as viewed through night vision goggles.


    last modified: April 25, 2015

    original

    processed

     


    noisecleaner

    Iteratively cleans noise from an image.


    last modified: April 25, 2015

    original

    denoise

    smooth



    normcrosscorr

    Computes the normalized cross correlation surface to find where a small image best matches within a larger image.


    last modified: July 11, 2017





    small
    image

    large
    image

    correlation
    image

    match
    location



    notch

    Creates and applies a notch filter to an image in the frequency domain to remove dither patterns and other regular noise patterns.


    last modified: July 15, 2015

    original
    image

    filtered
    image

    mask
    image



    omnistretch

    Enhances the dynamic range of brightness values and optionally saturation values in an image by analyzing and linearly stretching the image's histogram.


    last modified: April 25, 2015


    original


    enhanced

    mapping graph



    ortoneffect

    Applies an Orton effect to an image.


    last modified: April 25, 2015

    original

    processed

     


    otsuthresh

    Automatically thresholds an image to binary (b/w) format using Otsu's between class variance technique.


    last modified: November 03, 2015

    original

    thresholded

     


    overlapcrop

    Creates a sequence of cropped subsections permitting optional overlap of the subsections.


    last modified: April 25, 2015

    original
    image

    cropped
    animation

     


    pagecurl

    Applies a pagecurl effect to the lower right corner of an image


    last modified: April 25, 2015

    original

    gradient

    doublegradient



    pagepeel

    Applies a pagepeel effect to the lower right corner of an image


    last modified: May 27, 2015

    original

    peel 20 pixels

    peel 40 pixels



    painteffect

    Applies a paint type effect to an image


    last modified: April 20, 2017

    original

    result



    pano2fisheye

    Transforms a spherical panorama to a fisheye view


    last modified: August 12, 2017

    panorama

    planet view

    manhole view



    pano2rect

    Applies vertical perspective correction to an angular panoramic image


    last modified: April 25, 2015

    panorama

    tilt perspective correction



    peelingpaint

    Applies a peeling paint effect to an image.


    last modified: April 25, 2015

    original

    processed



    perforations

    Applies film-like perforations to two opposite edges of an image.


    last modified: April 25, 2015

    original

    processed



    perlin

    Creates an image composed of Perlin type noise


    last modified: August 29, 2015

    grayscale noise

    color noise

     


    phasecorr

    Computes the phase correlation surface to find where a small image best matches within a larger image


    last modified: July 28, 2015





    small
    image

    large
    image

    correlation
    image

    match
    location



    phashcompare

    Compares two 168 digit phash strings to compute a phash metric


    last modified: July 21, 2015



    phashconvert

    Converts the 42 phash float values for an image to a string of 168 digits


    last modified: April 25, 2015



    picframe

    Adds a picture frame around an image


    last modified: April 25, 2015



    original

    framed

     


    picturefold

    Applies a map-like folded appearance to an image.


    last modified: September 28, 2015

    picturefold

    folded



    pinbarrel

    Applies or corrects pincushion and/or barrel lens distortion to an image


    last modified: May 21, 2016


    original


    barrel


    pincushion



    pip

    Creates a picture-in-picture effect.


    last modified: June 05, 2017

    original

    processed



    pixelize

    Creates a pixelized or blocky effect in an image


    last modified: April 25, 2015

    original

    size 5

    size 7



    plm

    Generates and applies a piece-wise linear mapping look up table to an image


    last modified: April 25, 2015


    original


    modified

    mapping graph
    (same as plmlut)



    plmlut

    Generates a piece-wise linear mapping look up table (image)


    last modified: April 25, 2015

     


    no input


    look up table

    mapping graph



    plot

    Generates a profile of an image row or column or an image histogram.


    last modified: November 17, 2015

    original

    profile

    histogram



    plot3D

    Generates a 3D plot of a single channel or grayscale image.


    last modified: May 02, 2015

    original

    3D plot



    polar

    Applies either a rectangular (cartesian) to polar transformation or a polar to rectangular (cartesian) transformation on an image


    last modified: April 25, 2015

    original

    rect2polar

    polar2rect



    popart

    Creates a pop art style image


    last modified: June 25, 2016

    original

    result

     


    polarblur

    Applies a polar blur to an image


    last modified: April 25, 2015

    original

    radial

    angular



    postagestamp

    Applies a perforated postage stamp like border around an image.


    last modified: April 28, 2015

    original

    processed



    posteredges

    Applies posterized edges to an image.


    last modified: May 29, 2015

    original
    image

    no color
    reduction

    posterized
    n=6



    profile

    Generates a profile of an image row or column.


    last modified: April 25, 2015

    original
    image
    (128x128)



    pseudocolor

    Generates a pseudocolored image or pseudocolored animation from a grayscale image using a rainbow colored transformation.


    last modified: April 25, 2015

    original

    pseudocolor

    look up table



    ptilethresh

    Automatically thresholds an image to binary (b/w) format at a specified percentile on the cumulative histogram.


    last modified: November 03, 2015

    original

    thresholded

     


    puzzle

    Applies a puzzle like effect to an image.


    last modified: June 08, 2015



    radialgradient

    Creates a radial gradient image.


    last modified: April 25, 2015

    circle

    ellipse

     


    randomblob

    Creates an image composed of a moderate sized black random blob shape on a white background.


    last modified: April 25, 2015

    uniform
    square

    uniform
    disk

     


    randomclipart

    Randomly distributes clip art over the image.


    last modified: October 30, 2016

    original

    clip art

    processed



    recursion

    Creates a recursive affine composite effect in an image


    last modified: April 25, 2015

    original

    example 1

    example 2



    redeye

    Removes redeye from an image


    last modified: March 10, 2016

    original

    desat

    remove



    redist

    Modifies an image so that its (grayscale) histogram has a Gaussian, sometimes called normal or bell-shaped, distribution.

    (The best autolevels-like function that I have found so far)


    last modified: April 25, 2015

    original

    enhanced

    modified
    grayscale histogram



    reflect

    Splits an image, reflects each side and appends them to form horizontally symmetric images


    last modified: April 25, 2015

    original

    left

    right



    remap

    Remaps the colors in an image using a 3D color distance metric relative to a color table map image.


    last modified: April 25, 2015

    original
    image

    remapped
    image

     


    removecolorcast

    Removes a color cast from an image.


    last modified: January 31, 2017

    original

    processed



    replacecolor

    Changes one color to another color in an image.


    last modified: August 14, 2016

    original image

    processed green to red



    retinex

    Enhances detail and color in an image using the multiscale retinex algorithm.


    last modified: June 14, 2015

    original
    image

    enhanced
    rgb mode

    enhanced
    hsl mode



    ripples

    Applies various circular ripple effects to an image.


    last modified: April 25, 2015

    original
    image

    water-like
    ripples

     


    rmsecorr

    Computes the root mean squared correlation surface to find where a small image best matches within a larger image.


    last modified: March 24, 2017





    small
    image

    large
    image

    correlation
    image

    match
    location



    rotate3D

    Applies a perspective distortion to an image by providing rotation angles and automatically scale to the same size as the input image


    last modified: February 23, 2017

    original

    modified

    pan=45 degrees
    tilt=45 degrees



    sahoothresh

    Automatically thresholds an image to binary (b/w) format using Sahoo's entropy technique.


    last modified: November 03, 2015

    original

    thresholded

     


    saturation

    Changes the color saturation in an image.


    last modified: April 25, 2015

    original
    image

    increased
    saturation

    decreased
    saturation



    scatter

    Generates a channel-by-channel scatter diagram between two images.


    last modified: April 25, 2015

    image 1
     

    image 2
     

    scatter
    diagram



    scatterchannels

    Generates a scatter diagram between channels of an image.


    last modified: April 25, 2015

    image
     

    scatter
    diagram

     


    screeneffects

    Applies screen-like effects to an image.


    last modified: April 25, 2015

    original

    simple

    displace



    separate

    Identifies each separate white shape in a binary image.


    last modified: August 16, 2015

    original

    mode 2

    mode 3



    shadowhighlight

    Adjusts the tone in shadow and highlight areas of an image.


    last modified: June 20, 2015

    original

    processed



    shapecluster

    Creates a division of the image into 5 separated rectangular regions.


    last modified: June 05, 2017

    original

    processed



    shapemorph

    Creates a shape morphing animation sequence between two images.


    last modified: April 25, 2015

    image 1

    image 2

    1 pt morph



    shapemorph2

    Creates a shape morphing animation sequence between two images.


    last modified: April 25, 2015

    image 1

    image 2

    5 pt morph



    sharp

    Adaptively sharpens an image or extract edges.


    last modified: April 25, 2015

    original
    image

    sharpening
     

    edge
    extraction



    sharpedge

    Adaptively sharpens (or blurs) an image near edges.


    last modified: April 25, 2015

    original
    image

    sharpening
    near edges

    sharpening
    everywhere



    shuffle

    Randomly shuffles the positions of square sized tiles in an image.


    last modified: October 25, 2016

    original

    shuffled



    sigmoidal

    Applies a sigmoidal brightness and/or contrast adjustment to an image


    last modified: April 25, 2015


    original


    modified

    mapping graph



    similar

    Computes the normalized cross correlation similarity metric between two equal dimensioned images.


    last modified: July 13, 2016

    image 1

    image 2

    ncc metric
    0.807486



    sketch

    Applies a sketch effect to an image.


    last modified: April 25, 2015

    original

    color

    gray



    sketcher

    Applies a sketch effect to an image.


    last modified: June 27, 2017

    original

    color

    gray



    sketchetch

    Creates an etch-like sketch from an image.


    last modified: June 10, 2017

    original

    normal

    shaded



    sketching

    Applies a sketch effect to an image.


    last modified: June 27, 2017

    original

    color

    gray



    skew

    Applies a skew distortion to an image.


    last modified: April 25, 2015



    original
    image



    horizontal
    skew

    vertical
    skew



    slantedlight

    Applies slanted lighting to an image.


    last modified: April 25, 2015

    original

    processed



    slice

    Thresholds an image (inclusively) between a range of graylevels and optionally colorizes inside and/or outside the threshold range.


    last modified: September 12, 2015

    original
    image

    slice
    white/black

    slice
    white/image



    smartcrop

    Automatically crops an image to a given size around the hightest detail region.


    last modified: July 11, 2017

    original
    (not same scale)

    cropped
    (not same scale)



    smarttrim

    Automatically crops an image to a given size around the hightest detail region.


    last modified: July 15, 2017

    original
    (not same scale)

    trimmed
    (not same scale)



    softfocus

    Applies a softfocus effect to an image.


    last modified: April 25, 2015

    original

    softfocus



    softlight

    Applies soft light to an image.


    last modified: April 25, 2015

    original

    processed



    space

    Applies a spatially adaptive contrast (and brightness) enhancement filter to an image.


    last modified: May 04, 2015

    original
    image

    adaptively
    enhanced





    space2

    Applies a spatially adaptive contrast (and brightness) enhancement filter to an image.


    last modified: June 18, 2016

    original
    image

    adaptively
    enhanced

    adaptively
    enhanced



    spectrum

    Computes the spectrum image from the magnitude of the Fourier Transform of an image.


    last modified: July 28, 2015

    original

    spectrum



    spectrumhist

    Creates either a color spectrum or histogram of the colors in an image.


    last modified: April 25, 2015

    original

    histogram
    by hue

    histogram
    by count



    sphere

    Creates a colored sphere with a combination of diffuse and specular illumination.


    last modified: April 25, 2015

    Diffuse
    Lighting

    Diffuse & Specular
    Lighting

     



    spherize

    Warps an image onto a (hemi-)sphere.


    last modified: April 25, 2015

    original
    image

    black
    background

    image
    background



    splice

    Applies a jagged cut and splice effect to an image.


    last modified: May 28, 2015

    original

    spliced



    spline

    Draws a spline curve on an image based upon supplied points.


    last modified: April 25, 2015

    kbs

    bspline



    splitcrop

    Crops an image into two or four sections according to the given x,y coordinates.


    last modified: April 25, 2015

    original

    horizontal


    vertical



    splitimage

    Generates a side-by-side append of two partial images with an option to animate the amount of each image used in the append.


    last modified: April 25, 2015

    original

    pseudocolor

    animation



    splittone1

    Applies a color splittone effect to an image


    last modified: April 25, 2015

    original

    processed



    splittone2

    Applies a color splittone effect to an image


    last modified: May 12, 2015

    original

    processed



    splittone3

    Applies a color splittone effect to an image


    last modified: May 12, 2015

    original

    processed



    spots

    Converts the image into a series of uniform-colored spots


    last modified: May 28, 2015

    original

    circle 3

    circle 5



    ssim

    Computes the structural similarity metric between two equal sized images.


    last modified: January 14, 2016

    image 1

    image 2

    ssim=0.617
    dssim=0.383



    squareup

    Resizes an image and squares it up either by padding or cropping.


    last modified: April 25, 2015

    original

    pad

    crop



    stainedglass

    Applies a stained glass cell effect to an image


    last modified: April 03, 2016

    original

    random

    hexagon



    starburst

    Applies a starburst pattern to an image


    last modified: April 25, 2015

    original
     

    added
    starburst


    created
    starburst



    stdimage

    Computes a pixel-by-pixel standard deviation or variance image from multiple input images.


    last modified: April 25, 2015

    Image 1
     

    Image 2
     

    Standard
    Deviation



    statsfilt

    Applies various statistical filters primarily to reduce noise in an image.


    last modified: April 25, 2015

    noisy
    image

    arithmetic mean
    (average)

    arithmetic mean
    without extremes



    stretch

    Modifies an image to automatically stretch the dynamic range between full black and white.


    last modified: April 25, 2015

    original
    image

    colormode
    luminance

    colormode
    rgb



    striations

    Applies radial or circular striations to image.


    last modified: April 25, 2015

    original
    image

    radial
    striations

    circular
    striations



    stutter

    Creates a 'stuttered' offset-like effect in an image


    last modified: April 25, 2015

    original

    horizontal

    vertical



    textcleaner

    Processes a scanned document of text to clean the text background.


    last modified: June 26, 2015

    original

    processed



    textdeskew

    Unrotates (deskews) an image containing text.


    last modified: December 30, 2016

    original

    processed



    textdistort

    Distorts repeated text to warp it to the shape of the image content.


    last modified: June 02, 2017

    original

    processed



    texteffect

    Convert text to an image after applying various effects, styling and color.


    last modified: July 01, 2015

    Bulge Effect



    texteffect2

    Converts large size text to an image with color, effects and styling.


    last modified: September 12, 2015

    Bevel Effect With Stroke



    texturize

    Creates a texture pattern and optionally applies it to the background of an input image


    last modified: August 12, 2015

    original

    texture

    texturized



    thermography

    Simulates a picture taken with a thermal imaging camera.


    last modified: May 03, 2015

    original

    thermograph

     


    thresholds

    Applies one or two thresholds to an image.


    last modified: November 25, 2015

    original

    hard threshold

    soft threshold

    clipped threshold



    tileimage

    Tiles an image to a given size with various tile arrangements.


    last modified: August 10, 2015

    original
    image

    brick
    tiling

    halfdrop
    tiling



    tiler

    Converts an image into a tilable texture.


    last modified: May 03, 2015

    original
    image

    tilable
    texture

     


    tiltshift

    Applies a tiltshift effect to an image.


    last modified: May 03, 2015

    original

    tiltshift



    tintilize

    Applies a color tint to the mid-range of a grayscale image.


    last modified: May 03, 2015

    original

    grayscale

    tinted



    tinyplanet

    Transforms a spherical panorama to a linear fisheye view


    last modified: August 12, 2017

    panorama

    white background

    stars background



    tonemap1

    Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function.


    last modified: July 14, 2015

    original

    mode=all

    mode=intensity



    tonemap2

    Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function.


    last modified: July 14, 2015

    original

    type=none

    type=equalize



    tonemap3

    Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function.


    last modified: July 14, 2015

    original

    type=none

    type=retinex



    tonemap4

    Enhances the shadows and/or highlight regions in an image using a non-linear log or gamma function plus an extra processing function.


    last modified: July 14, 2015

    original

    kind=none

    kind=retinex



    toon

    Applies a cartoon effect to an image.


    last modified: June 21, 2017

    original

    method 1

    method 2



    toycamera

    Simulates pictures taken by lomographic or holga type toy cameras.


    last modified: May 03, 2015

    original

    toy camera

     


    transfercolor

    Transfers the coloring from one image to another image.


    last modified: January 26, 2017

    image 1

    image 2

    result



    transitions

    Applies an animated transition between two images.


    last modified: May 03, 2015

    image 1

    image 2

    transition



    trianglethresh

    Automatically thresholds an image to binary (b/w) format using the triangle technique.


    last modified: November 03, 2015

    original

    thresholded

     


    tricolorize

    Smoothly colorizes a grayscale image with either one, two or three different colors.


    last modified: May 03, 2015

    original

    grayscale

    colorized



    trimmer

    Trims the background from any number of specified sides of an image.


    last modified: May 03, 2015

    original

    east side

    east,west sides



    tshirt

    Transforms an image to place it in a region of a tshirt image


    last modified: August 18, 2017

    overlay

    tshirt

    result



    tshirtwarp

    Transforms an image to place it in a region of a tshirt image using a lighting file, a displacement map and arguments provided by the script tshirt


    last modified: July 26, 2017

    overlay

    tshirt

    result



    tunnelize

    Creates a tunnel-like effect on an image


    last modified: May 03, 2015

    original

    mode 1

    mode 2



    turn

    Simultaneously rotates and crops an image to eliminate any background


    last modified: September 19, 2015

    original

    aspect

    square



    unperspective

    Automatically removes pespective distortion from an image.


    last modified: September 18, 2016

    distorted
    image



    undistorted
    image

     


    unrotate

    Automatically unrotates a rotated image and trims the surrounding border.


    last modified: May 07, 2015

    rotated
    image



    unrotated
    image

     


    uwcorrect

    Corrects the color balance for red light attenuation in pictures taken underwater.


    last modified: May 03, 2015

    original

    corrected

     


    variableblur

    Applies a variable blur to an image based upon a mask image


    last modified: June 02, 2015

    image

    mask

    blurred



    vibrance

    Applies a non-linear change to the saturation of an image


    last modified: June 02, 2015

    original
    image

    increased
    vibrance

    decreased
    vibrance



    vignette

    Applies a vignette effect to a picture.


    last modified: June 02, 2015

    original

    black

    red



    vignette2

    Applies a vignette effect to a picture.


    last modified: June 02, 2015

    original

    roundrectangle

    ellipse



    vignette3

    Applies a vignette effect to a picture.


    last modified: June 02, 2015

    original

    normal

    brightened



    vintage1

    Applies a classic blue-green vintage effect to an image.


    last modified: August 12, 2015

    original

    processed



    vintage2

    Applies a classic blue-green vintage effect to an image.


    last modified: August 12, 2015

    original

    processed



    vintage3

    Applies an old, heritage style vintage effect to an image.


    last modified: August 12, 2015

    original

    processed



    warholeffect

    Creates an Andy Warhol style colorization image.


    last modified: December 22, 2015

    original

    processed



    watercolor

    Applies a watercolor effect to an image.


    last modified: June 30, 2017

    original

    result 1

    result 2



    wavemap

    Transforms the graylevels in each RGB channel according to a sinusoidal wave function.


    last modified: May 07, 2015

    original

    processed



    whitebalance

    Transform an image's overall color balance according to a desired change in a specified white point color.


    last modified: May 07, 2015

    original
    image

    modified
    white point

     


    whiteboard

    Processes a picture of a whiteboard to clean up the background and correct the perspective.


    last modified: May 07, 2015

    original
    image

    enhanced
    image



    woodcut

    Applies a woodcut effect to an image.


    last modified: June 02, 2015

    original

    woodcut



    woodgrain

    Simulates a woodgrain texture.


    last modified: June 02, 2015



    xposure

    Changes the exposure level of an image by photographic stops


    last modified: May 07, 2015

    original

    1/2 stop brighter

    1/2 stop darker



    zerocrossing

    Applies a zero crossing edge detector to an image


    last modified: April 29, 2015

    original

    sobel

    morphologic



    zoomblur

    Applies a radial or zoom blur to an image


    last modified: May 07, 2015

    original

    zoom

    more zoom



    OTHER USEFUL SCRIPTS

    Anthony Thyssen's Image Comparison Animation Script

    Anthony Thyssen's Image Profile Script

    Anthony Thyssen's Image Histogram Script

    Anthony Thyssen's Grayscale Transformation Graph Script

    Anthony Thyssen's Show Fonts Script

    Anthony Thyssen's Picture Frame Edge Script



    USEFUL LINKS

    ImageMagick Home Page

    ImageMagick Installations

    ImageMagick Command Options

    ImageMagick Reference Index

    ImageMagick Usage Examples

    ImageMagick String Formats

    ImageMagick Test Images

    ImageMagick Image Formats

    ImageMagick Pseudo-Image Formats

    ImageMagick Image Patterns

    ImageMagick Color Formats

    ImageMagick Color Names

    ImageMagick Image Types

    ImageMagick Color Spaces

    ImageMagick Drawing Primitives

    ImageMagick Show_Fonts Script

    ImageMagick Scripts

    ImageMagick Display Options

    Delegates Repository



    USEFUL IMAGEMAGICK INFORMATION COMMANDS
    (as of IM 6.3.5.7)
    convert -list list all functions
    convert -list list list all -list options
    convert -list channel list of all image -channel options
    convert -list command list all commands
    convert -list color list of all color names and values
    convert -list colorspace list of all -colorspace options
    convert -list compose list of all -compose options
    convert -list configure list of your IM version information
    convert -list decoration list of all text decorations
    convert -list filter list of all -filter options
    convert -list font list of all supported fonts (on your system)
    convert -list format list of all image formats
    convert -list gravity list of all -gravity positioning options
    convert -list primitive list of all -draw primitive shapes
    convert -list style list of all text styles
    convert -list threshold list of all dither/halftone options
    convert -list type list of all image types
    convert -list virtual-pixel list of all -virtual-pixel options


    TESTS USING IM

    Liquid-Rescale

    Sean Burke's Fourier Transform Demo (FFT/IFT)

    Perfectly Clear™ Versus Other Advanced Enhancement Techniques

    GREYCstoration: Noise Removal, Inpainting and Resizing

    Comparison Of Various Automatic Thresholding Techniques

    Tests Of Perceptual Hash (PHASH) Compare Metric

    ACCELERATED TEMPLATE MATCHING USING LOCAL STATISTICS AND FOURIER TRANSFORMS.pdf