From 6444ad34decaf67fe01f21e5a486f29d7f86f9c6 Mon Sep 17 00:00:00 2001 From: Robert Whitney Date: Thu, 15 Mar 2012 10:54:59 -0400 Subject: [PATCH] removes several invalid command line options from MOGRIFY_COMMANDS --- lib/mini_magick.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mini_magick.rb b/lib/mini_magick.rb index 7a46a396..92e3b235 100644 --- a/lib/mini_magick.rb +++ b/lib/mini_magick.rb @@ -34,7 +34,7 @@ def valid_version_installed? end end - MOGRIFY_COMMANDS = %w{adaptive-blur adaptive-resize adaptive-sharpen adjoin affine alpha annotate antialias append authenticate auto-gamma auto-level auto-orient background bench iterations bias black-threshold blue-primary point blue-shift factor blur border bordercolor brightness-contrast caption cdl filename channel type charcoal radius chop clip clamp clip-mask filename clip-path id clone index clut contrast-stretch coalesce colorize color-matrix colors colorspace type combine comment compose operator composite compress type contrast convolve coefficients crop cycle amount decipher filename debug events define deconstruct delay delete index density depth despeckle direction type dissolve display server dispose distort type coefficients dither draw edge radius emboss radius encipher filename encoding type endian type enhance equalize evaluate operator evaluate-sequence operator extent extract family name fft fill filter type flatten flip floodfill flop font name format frame function name fuzz distance fx expression gamma gaussian-blur geometry gravity type green-primary point help identify ifft implode amount insert index intent type interlace type interline-spacing interpolate interword-spacing kerning label lat layers level limit type linear-stretch liquid-rescale log format loop iterations mask filename mattecolor median radius modulate monitor monochrome morph morphology kernel motion-blur negate noise radius normalize opaque ordered-dither NxN orient type page paint radius ping pointsize polaroid angle posterize levels precision preview type print string process image-filter profile filename quality quantize quiet radial-blur angle raise random-threshold low,high red-primary point regard-warnings region remap filename render repage resample resize respect-parentheses roll rotate degrees sample sampling-factor scale scene seed segments selective-blur separate sepia-tone threshold set attribute shade degrees shadow sharpen shave shear sigmoidal-contrast size sketch solarize threshold splice spread radius strip stroke strokewidth stretch type style type swap indexes swirl degrees texture filename threshold thumbnail tile filename tile-offset tint transform transparent transparent-color transpose transverse treedepth trim type type undercolor unique-colors units type unsharp verbose version view vignette virtual-pixel wave weight type white-point point white-threshold write filename} + MOGRIFY_COMMANDS = %w{adaptive-blur adaptive-resize adaptive-sharpen adjoin affine alpha annotate antialias append authenticate auto-gamma auto-level auto-orient background bench iterations bias black-threshold blue-primary blue-shift blur border bordercolor brightness-contrast caption cdl channel charcoal chop clip clamp clip-mask clip-path clone clut contrast-stretch coalesce colorize color-matrix colors colorspace combine comment compose composite compress contrast convolve coefficients crop cycle decipher debug define deconstruct delay delete density depth despeckle direction dissolve display dispose distort dither draw edge emboss encipher encoding endian enhance equalize evaluate evaluate-sequence extent extract family fft fill filter flatten flip floodfill flop font format frame function fuzz fx gamma gaussian-blur geometry gravity green-primary help identify ifft implode insert index intent interlace interline-spacing interpolate interword-spacing kerning label lat layers level limit linear-stretch liquid-rescale log loop mask mattecolor median modulate monitor monochrome morph morphology motion-blur negate noise normalize opaque ordered-dither orient page paint ping pointsize polaroid posterize precision preview print process profile quality quantize quiet radial-blur raise random-threshold red-primary regard-warnings region remap render repage resample resize respect-parentheses roll rotate sample sampling-factor scale scene seed segments selective-blur separate sepia-tone set shade shadow sharpen shave shear sigmoidal-contrast size sketch solarize splice spread strip stroke strokewidth stretch style swap swirl texture threshold thumbnail tile tile-offset tint transform transparent transparent-color transpose transverse treedepth trim type undercolor unique-colors units unsharp verbose version view vignette virtual-pixel wave weight white-point white-threshold write} IMAGE_CREATION_OPERATORS = %w{canvas caption gradient label logo pattern plasma radial radient rose text tile xc }