Re: [WebDNA] ImageMagick code

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110674
interpreted = N
texte = Thank you Terry W. and John B. With your help, I have it working just fine. sfb FYI, Here is my final code: [text]f=3Dprop_images[/text] [writefile file=3D[f]/[origfilename]&secure=3DF][value][/writefile] [writefile = file=3D[f]/thumbnails/[origfilename]&secure=3DF][value][/writefile]=09 =09 [text show=3Df]iminput=3D [f]/[origfilename] -resize "816X612" -quality = 95 [f]/[origfilename][/text] [shell scriptid=3DImageMagick_convert][/shell] =09 [text show=3Df]iminput=3D [f]/[origfilename] -resize "125X94" -quality = 50 [f]/thumbnails/[origfilename][/text] [shell scriptid=3DImageMagick_convert][/shell] =09 =20 On Sep 10, 2013, at 5:24 PM, Stuart Tremain wrote: > Depending on the server platform and the version of ImageMagick you = may have problems getting it right, the things to look for are the = switches and the way that you present the query to IM. >=20 > For example this works on Linux but not on Windows: >=20 > mogrify[!] > [/!] -resize "[IMAGEWIDTH]x[IMAGEHEIGHT] [IMAGESWITCH]"[!] > [/!] -colorspace RGB[!] > [/!] -density 72[!] > [/!] -quality 100[!] > [/!] -strip[!] > [/!] [IMAGEPATH][IMAGEFILENAME][!] > [/!] -format JPG >=20 > I found that the width & switch needed to inside "double inverted = commas" in Linux. My suggestion is to take a simple script that does = work and then slowly expand on it until you have your new script doing = exactly what you want it to. >=20 > This one forces an image into a square by cropping it rather than = distorting it. >=20 >=20 > [!] ---- Get the file name from a multipart form upload & serialise a = prefix on the name to prevent overwriting of existing files ---- [/!] >=20 > [showif [url][name][/url]^[url]filename=3D"[/url]] > [TEXT]fullfilename=3D[Middle = StartAfter=3Dfilename=3D"&endbefore=3D"][name][/Middle][/TEXT] > [listwords words=3D[fullfilename]&delimiters=3D:/\] > = [TEXT]_NEW-FILENAME=3D[MATH]{[date]}[/MATH][MATH]{[time]}[/MATH]-[LOWERCAS= E][convertchars = db=3D^noillegals.db][word][/convertchars][/LOWERCASE][/TEXT] > [/listwords] > [/showif] >=20 >=20 > [TEXT]NEWFILESIZE=3D75[/TEXT] > [TEXT]IMAGEPATH=3Dclientuploads/imageprocessing/[NEWFILESIZE]/[/TEXT] > [TEXT]IMAGEFILENAME=3D[_NEW-FILENAME][/TEXT] > [TEXT]IMAGEWIDTH=3D75[/TEXT] > [TEXT]IMAGEHEIGHT=3D75[/TEXT] > [TEXT]IMAGESWITCH=3D![/TEXT] [!]Maximum values of height and width = given, aspect ratio preserved: = http://www.imagemagick.org/script/command-line-processing.php#geometry[/!]= > [TEXT]QUIET=3D[SHELL scriptid=3DIMAGESQUARE01][/SHELL][/TEXT] >=20 >=20 > This is the script referred to as IMAGESQUARE01 >=20 > convert[!] > [/!] -define jpeg:size=3D[IMAGEWIDTH]x[IMAGEHEIGHT][!] > [/!] [IMAGEPATH][IMAGEFILENAME][!] > [/!] -thumbnail [IMAGEWIDTH]x[IMAGEHEIGHT]^[!]=20 > [/!] -gravity center[!] > [/!] -extent [IMAGEWIDTH]x[IMAGEHEIGHT][!] > [/!] -colorspace RGB[!] > [/!] -density 72[!] > [/!] -quality 100[!] > [/!] -strip[!] > [/!] [IMAGEPATH][IMAGEFILENAME] >=20 > I have put the script inside a text var so that the output doesn't = screw with the HTML rendering. >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > On 11/09/2013, at 5:40 AM, "Terry Wilson" wrote: >=20 >> We are all with Webuilders, so yes, the variable below is what Steve = should be using. >>=20 >> Here's the logic. On a shared server, no host is going to allow = unmonitored shell scripts; too risky. So they cobble together some safe = scripts, like a call to IM's convert program. The scriptid refers to a = script in a sandbox script database that we can't see - only the server = admin has access to that. The script from this database, the one you're = trying to use, works like this: >>=20 >> [shell][PathToIM]/convert [iminput][/shell] >>=20 >> [iminput] is what you set in your template before the scriptid call, = which tells the server which script to use. So, you're saying "use the = IM convert program, and feed it these commands and and values" >>=20 >> Terry >>=20 >> On Tue, 10 Sep 2013 15:15:42 -0400 >> John Butler wrote: >>=20 >>> There is no HTML output. >>=20 >>> Could this mean that I have the wrong path to the ImageMagick = directory? >> It seems like you are able to reach imagemagick OK, but that it is >> complaining that you are not using it properly.. i.e. you are not >> sending the right commands (and/or params) to it. >> Try playing with the stuff in between [shell...] XXX [/shell]. >> <--- I.e. the XXX part >> Or, picking up with what Terry said, when I look at one of my own >> imagemagick call's on a shared server, I see this: >> ---------------------------------------- >> [text show=3Df]iminput=3D ../images/photos/[path]/[file] -resize >> "100X100>" +profile "*" -quality 75 >> ../images/thumbnails/[path]/[file][/text] >> [shell scriptid=3DImageMagick_convert][/shell] >> ---------------------------------------- >> So, it seems like Terry was giving good advice.. >> It seems that the "ImageMagick_convert" scriptID (i.e. the shell >> script that your server admin approved and set up to call = imagemagick) >> requires that it be "handed" a [text] var whose value is the >> imagemagick command params. >> Your server admin may, by chance, have also set up the imagemagick >> call (or the imagemagick *convert* call) to be primed with a var also >> named like my server admin did ("[iminput]"), or else you need to ask >> him/her what the approved scriptID requires as the name of the var >> that stores the command params. >> HTH >> -G >>=20 >>> Thanks, >>> sfb >>> On Sep 10, 2013, at 2:05 PM, John Butler = wrote: >>>> Stephen, maybe try assigning the imagemagick call *results* to a = text var... and see if there was any error output. >>>> -------------------------------------------------- >>>> [text]debug=3D[shell scriptid=3DImageMagick_convert] = /usr/bin/convert images/[filename] -resize 816x612 = images/[newfilename] [/shell][/text] >>>> debug=3D[debug]| >>>> -------------------------------------------------- >>>> I put a pipe ^^^ char so you can see in the output HTML if there is = any character at all between the equal sign and the pipe. >>>> HTH, >>>> -G >>>> On 2013-09-10, at 1:57 PM, Stephen Braun = wrote: >>>>> Hi Again, >>>>> I need some help with imageMagick. >>>>> I'm using a shared server, and my host says that it is installed = on the server, and other customers are using it sucessfully. >>>>> My host has been trying to help me, but he's not a programmer, so = we're not having any luck. >>>>> Using this: [shell = scriptid=3DImageMagick_convert] [/shell] >>>>> I get this: >>>>> Version: ImageMagick 6.2.8 10/20/10 Q16 = file:/usr/share/ImageMagick-6.2.8/doc/index.html Copyright: Copyright = (C) 1999-2006 ImageMagick Studio LLC Usage: convert [options ...] file [ = [options ...] file ...] [options ...] file Where options include: = -adaptive-sharpen geometry adaptively sharpen pixels; increase effect = near edges -adjoin join images into a single multi-image file -affine = matrix affine transform matrix -annotate geometry text annotate the = image with text -antialias remove pixel-aliasing -append append an image = sequence -authenticate value decrypt image with this password = -auto-orient automatically orient image -average average an image = sequence -background color background color -bias value add bias when = convolving an image -black-point-compensation use black point = compensation -black-threshold value force all pixels below the threshold = into black -blue-primary point chromaticity blue primary point -blur = geometry blur the image -border geometry surround image with a border of = color -bordercolor color border color -channel type apply option to = select image channels -charcoal radius simulate a charcoal drawing -chop = geometry remove pixels from the image interior -clip clip along the = first path from the 8BIM profile -clip-path id clip along a named path = from the 8BIM profile -clone index clone an image -coalesce merge a = sequence of images -colorize value colorize the image with the fill = color -colors value preferred number of colors in the image -colorspace = type alternate image colorspace -combine combine a sequence of images = -comment string annotate image with comment -compose operator set image = composite operator -composite composite image -compress type type of = pixel compression when writing the image -contrast enhance or reduce the = image contrast -contrast-stretch geometry improve contrast by = `stretching' the intensity range -convolve coefficients apply a = convolution kernel to the image -crop geometry cut out a rectangular = region of the image -cycle amount cycle the image colormap -debug events = display copious debugging information -define format:option define one = or more image format options -deconstruct break down an image sequence = into constituent parts -delay value display the next image after pausing = -delete index delete the image from the image sequence -density geometry = horizontal and vertical density of the image -depth value image depth = -despeckle reduce the speckles within an image -display server get image = or font from this X server -dispose method GIF disposal method -dither = apply Floyd/Steinberg error diffusion to image -draw string annotate the = image with a graphic primitive -edge radius apply a filter to detect = edges in the image -emboss radius emboss an image -encoding type text = encoding type -endian type endianness (MSB or LSB) of the image -enhance = apply a digital filter to enhance a noisy image -equalize perform = histogram equalization to an image -evaluate operator value evaluate an = arithmetic, relational, or logical expression -extent geometry set the = image size -extract geometry extract area from image -family name render = text with this font family -fill color color to use when filling a = graphic primitive -filter type use this filter when resizing an image = -flatten flatten a sequence of images -flip flip image vertically = -floodfill geometry color floodfill the image with color -flop flop = image horizontally -font name render text with this font -format = "string" output formatted image characteristics -frame geometry surround = image with an ornamental border -fuzz distance colors within this = distance are considered equal -fx expression apply mathematical = expression to an image channel(s) -gamma value level of gamma correction = -gaussian geometry gaussian blur an image -geometry geometry perferred = size or location of the image -green-primary point chromaticity green = primary point -gravity type horizontal and vertical text placement -help = print program options -identify identify the format and characteristics = of the image -implode amount implode image pixels about the center = -insert index insert last image into the image sequence -intent type = type of rendering intent when managing the image color -interlace type = type of image interlacing scheme -label name assign a label to an image = -lat geometry local adaptive thresholding -layers method optimize or = compare image layers -level value adjust the level of image contrast = -limit type value pixel cache resource limit -log format format of = debugging information -loop iterations add Netscape loop extension to = your GIF animation -map filename transform image colors to match this = set of colors -mask filename set the image clip mask -matte store matte = channel if the image has one -mattecolor color frame color -median = radius apply a median filter to the image -modulate value vary the = brightness, saturation, and hue -monitor monitor progress -monochrome = transform image to black and white -morph value morph an image sequence = -mosaic create a mosaic from an image sequence -motion-blur geometry = simulate motion blur -negate replace every pixel with its complementary = color -noise radius add or reduce noise in an image -normalize transform = image to span the full range of colors -opaque color change this color = to the fill color -ordered-dither NxN ordered dither the image -orient = type image orientation -page geometry size and location of an image = canvas (setting) -paint radius simulate an oil painting -ping = efficiently determine image attributes -pointsize value font point size = -posterize levels reduce the image to a limited number of color levels = -preview type image preview type -print string interpret string and = print to console -process arguments process the image with a custom = image filter -profile filename add, delete, or apply an image profile = -quality value JPEG/MIFF/PNG compression level -quiet suppress all error = or warning messages -radial-blur angle radial blur the image -raise = value lighten/darken image edges to create a 3-D effect = -random-threshold low,high random threshold the image -red-primary point = chromaticity red primary point -region geometry apply options to a = portion of the image -render render vector graphics -repage geometry = size and location of an image canvas -resample geometry change the = resolution of an image -resize geometry resize the image -roll geometry = roll an image vertically or horizontally -rotate degrees apply Paeth = rotation to the image -sample geometry scale image with pixel sampling = -sampling-factor geometry horizontal and vertical sampling factor -scale = geometry scale the image -scene value image scene number -seed value = pseudo-random number generator seed value -segment values segment an = image -separate separate an image channel into a grayscale image = -sepia-tone threshold simulate a sepia-toned photo -set attribute value = set an image attribute -shade degrees shade the image using a distant = light source -shadow geometry simulate an image shadow -sharpen geometry = sharpen the image -shave geometry shave pixels from the image edges = -shear geometry slide one edge of the image along the X or Y axis = -sigmodial-contrast geometry lightness rescaling using sigmoidal = contrast enhancement -size geometry width and height of image -solarize = threshold negate all pixels above the threshold level -splice geometry = splice the background color into the image -spread amount displace image = pixels by a random amount -strip strip image of all profiles and = comments -stroke color graphic primitive stroke color -strokewidth value = graphic primitive stroke width -stretch type render text with this font = stretch -style type render text with this font style -support factor = resize support: > 1.0 is blurry, < 1.0 is sharp -swap indexes swap two = images in the image sequence -swirl degrees swirl image pixels about the = center -texture filename name of texture to tile onto the image = background -threshold value threshold the image -thumbnail geometry = create a thumbnail of the image -tile filename tile image when filling a = graphic primitive -tint value tint the image with the fill color = -transform affine transform image -transparent color make this color = transparent within the image -transpose flip image vertically and rotate = 90 degrees -transverse flop image horizontally and rotate 270 degrees = -treedepth value color tree depth -trim trim image edges -type type = image type -undercolor color annotation bounding box color -units type = the units of image resolution -unsharp geometry sharpen the image = -verbose print detailed information about the image -version print = version information -view FlashPix viewing transforms -vignette geometry = soften the edges of the image in vignette style -virtual-pixel method = virtual pixel access method -wave geometry alter an image along a sine = wave -weight type render text with this font weight -white-point point = chromaticity white point -white-threshold value force all pixels above = the threshold into white -write filename write images to this file By = default, the image format of `file' is determined by its magic number. = To specify a particular image format, precede the filename with an image = format name and a colon (i.e. ps:image) or specify the image type as the = filename suffix (i.e. image.ps). Specify 'file' as '-' for standard = input or output. >>>>> But using this: [shell scriptid=3DImageMagick_convert] = /usr/bin/convert images/[filename] -resize 816x612 = images/[newfilename] [/shell] >>>>> Dosen't give me any results. >>>>> Any ideas? >>>>> Thanks a bunch, >>>>> sfb >>>>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ImageMagick code (Stephen Braun 2013)
  2. Re: [WebDNA] ImageMagick code (Stuart Tremain 2013)
  3. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  4. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  5. Re: [WebDNA] ImageMagick code (John Butler 2013)
  6. Re: [WebDNA] ImageMagick code (John Butler 2013)
  7. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  8. Re: [WebDNA] ImageMagick code (Stephen Braun 2013)
  9. Re: [WebDNA] ImageMagick code (John Butler 2013)
  10. [WebDNA] ImageMagick code (Stephen Braun 2013)
Thank you Terry W. and John B. With your help, I have it working just fine. sfb FYI, Here is my final code: [text]f=3Dprop_images[/text] [writefile file=3D[f]/[origfilename]&secure=3DF][value][/writefile] [writefile = file=3D[f]/thumbnails/[origfilename]&secure=3DF][value][/writefile]=09 =09 [text show=3Df]iminput=3D [f]/[origfilename] -resize "816X612" -quality = 95 [f]/[origfilename][/text] [shell scriptid=3DImageMagick_convert][/shell] =09 [text show=3Df]iminput=3D [f]/[origfilename] -resize "125X94" -quality = 50 [f]/thumbnails/[origfilename][/text] [shell scriptid=3DImageMagick_convert][/shell] =09 =20 On Sep 10, 2013, at 5:24 PM, Stuart Tremain wrote: > Depending on the server platform and the version of ImageMagick you = may have problems getting it right, the things to look for are the = switches and the way that you present the query to IM. >=20 > For example this works on Linux but not on Windows: >=20 > mogrify[!] > [/!] -resize "[IMAGEWIDTH]x[IMAGEHEIGHT] [IMAGESWITCH]"[!] > [/!] -colorspace RGB[!] > [/!] -density 72[!] > [/!] -quality 100[!] > [/!] -strip[!] > [/!] [IMAGEPATH][IMAGEFILENAME][!] > [/!] -format JPG >=20 > I found that the width & switch needed to inside "double inverted = commas" in Linux. My suggestion is to take a simple script that does = work and then slowly expand on it until you have your new script doing = exactly what you want it to. >=20 > This one forces an image into a square by cropping it rather than = distorting it. >=20 >=20 > [!] ---- Get the file name from a multipart form upload & serialise a = prefix on the name to prevent overwriting of existing files ---- [/!] >=20 > [showif [url][name][/url]^[url]filename=3D"[/url]] > [text]fullfilename=3D[Middle = StartAfter=3Dfilename=3D"&endbefore=3D"][name][/Middle][/TEXT] > [listwords words=3D[fullfilename]&delimiters=3D:/\] > = [text]_NEW-FILENAME=3D[math]{[date]}[/MATH][math]{[time]}[/MATH]-[LOWERCAS= E][convertchars = db=3D^noillegals.db][word][/convertchars][/LOWERCASE][/TEXT] > [/listwords] > [/showif] >=20 >=20 > [text]NEWFILESIZE=3D75[/TEXT] > [text]IMAGEPATH=3Dclientuploads/imageprocessing/[NEWFILESIZE]/[/TEXT] > [text]IMAGEFILENAME=3D[_NEW-FILENAME][/TEXT] > [text]IMAGEWIDTH=3D75[/TEXT] > [text]IMAGEHEIGHT=3D75[/TEXT] > [text]IMAGESWITCH=3D![/TEXT] [!]Maximum values of height and width = given, aspect ratio preserved: = http://www.imagemagick.org/script/command-line-processing.php#geometry[/!]= > [text]QUIET=3D[SHELL scriptid=3DIMAGESQUARE01][/SHELL][/TEXT] >=20 >=20 > This is the script referred to as IMAGESQUARE01 >=20 > convert[!] > [/!] -define jpeg:size=3D[IMAGEWIDTH]x[IMAGEHEIGHT][!] > [/!] [IMAGEPATH][IMAGEFILENAME][!] > [/!] -thumbnail [IMAGEWIDTH]x[IMAGEHEIGHT]^[!]=20 > [/!] -gravity center[!] > [/!] -extent [IMAGEWIDTH]x[IMAGEHEIGHT][!] > [/!] -colorspace RGB[!] > [/!] -density 72[!] > [/!] -quality 100[!] > [/!] -strip[!] > [/!] [IMAGEPATH][IMAGEFILENAME] >=20 > I have put the script inside a text var so that the output doesn't = screw with the HTML rendering. >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > On 11/09/2013, at 5:40 AM, "Terry Wilson" wrote: >=20 >> We are all with Webuilders, so yes, the variable below is what Steve = should be using. >>=20 >> Here's the logic. On a shared server, no host is going to allow = unmonitored shell scripts; too risky. So they cobble together some safe = scripts, like a call to IM's convert program. The scriptid refers to a = script in a sandbox script database that we can't see - only the server = admin has access to that. The script from this database, the one you're = trying to use, works like this: >>=20 >> [shell][PathToIM]/convert [iminput][/shell] >>=20 >> [iminput] is what you set in your template before the scriptid call, = which tells the server which script to use. So, you're saying "use the = IM convert program, and feed it these commands and and values" >>=20 >> Terry >>=20 >> On Tue, 10 Sep 2013 15:15:42 -0400 >> John Butler wrote: >>=20 >>> There is no HTML output. >>=20 >>> Could this mean that I have the wrong path to the ImageMagick = directory? >> It seems like you are able to reach imagemagick OK, but that it is >> complaining that you are not using it properly.. i.e. you are not >> sending the right commands (and/or params) to it. >> Try playing with the stuff in between [shell...] XXX [/shell]. >> <--- I.e. the XXX part >> Or, picking up with what Terry said, when I look at one of my own >> imagemagick call's on a shared server, I see this: >> ---------------------------------------- >> [text show=3Df]iminput=3D ../images/photos/[path]/[file] -resize >> "100X100>" +profile "*" -quality 75 >> ../images/thumbnails/[path]/[file][/text] >> [shell scriptid=3DImageMagick_convert][/shell] >> ---------------------------------------- >> So, it seems like Terry was giving good advice.. >> It seems that the "ImageMagick_convert" scriptID (i.e. the shell >> script that your server admin approved and set up to call = imagemagick) >> requires that it be "handed" a [text] var whose value is the >> imagemagick command params. >> Your server admin may, by chance, have also set up the imagemagick >> call (or the imagemagick *convert* call) to be primed with a var also >> named like my server admin did ("[iminput]"), or else you need to ask >> him/her what the approved scriptID requires as the name of the var >> that stores the command params. >> HTH >> -G >>=20 >>> Thanks, >>> sfb >>> On Sep 10, 2013, at 2:05 PM, John Butler = wrote: >>>> Stephen, maybe try assigning the imagemagick call *results* to a = text var... and see if there was any error output. >>>> -------------------------------------------------- >>>> [text]debug=3D[shell scriptid=3DImageMagick_convert] = /usr/bin/convert images/[filename] -resize 816x612 = images/[newfilename] [/shell][/text] >>>> debug=3D[debug]| >>>> -------------------------------------------------- >>>> I put a pipe ^^^ char so you can see in the output HTML if there is = any character at all between the equal sign and the pipe. >>>> HTH, >>>> -G >>>> On 2013-09-10, at 1:57 PM, Stephen Braun = wrote: >>>>> Hi Again, >>>>> I need some help with imageMagick. >>>>> I'm using a shared server, and my host says that it is installed = on the server, and other customers are using it sucessfully. >>>>> My host has been trying to help me, but he's not a programmer, so = we're not having any luck. >>>>> Using this: [shell = scriptid=3DImageMagick_convert] [/shell] >>>>> I get this: >>>>> Version: ImageMagick 6.2.8 10/20/10 Q16 = file:/usr/share/ImageMagick-6.2.8/doc/index.html Copyright: Copyright = (C) 1999-2006 ImageMagick Studio LLC Usage: convert [options ...] file [ = [options ...] file ...] [options ...] file Where options include: = -adaptive-sharpen geometry adaptively sharpen pixels; increase effect = near edges -adjoin join images into a single multi-image file -affine = matrix affine transform matrix -annotate geometry text annotate the = image with text -antialias remove pixel-aliasing -append append an image = sequence -authenticate value decrypt image with this password = -auto-orient automatically orient image -average average an image = sequence -background color background color -bias value add bias when = convolving an image -black-point-compensation use black point = compensation -black-threshold value force all pixels below the threshold = into black -blue-primary point chromaticity blue primary point -blur = geometry blur the image -border geometry surround image with a border of = color -bordercolor color border color -channel type apply option to = select image channels -charcoal radius simulate a charcoal drawing -chop = geometry remove pixels from the image interior -clip clip along the = first path from the 8BIM profile -clip-path id clip along a named path = from the 8BIM profile -clone index clone an image -coalesce merge a = sequence of images -colorize value colorize the image with the fill = color -colors value preferred number of colors in the image -colorspace = type alternate image colorspace -combine combine a sequence of images = -comment string annotate image with comment -compose operator set image = composite operator -composite composite image -compress type type of = pixel compression when writing the image -contrast enhance or reduce the = image contrast -contrast-stretch geometry improve contrast by = `stretching' the intensity range -convolve coefficients apply a = convolution kernel to the image -crop geometry cut out a rectangular = region of the image -cycle amount cycle the image colormap -debug events = display copious debugging information -define format:option define one = or more image format options -deconstruct break down an image sequence = into constituent parts -delay value display the next image after pausing = -delete index delete the image from the image sequence -density geometry = horizontal and vertical density of the image -depth value image depth = -despeckle reduce the speckles within an image -display server get image = or font from this X server -dispose method GIF disposal method -dither = apply Floyd/Steinberg error diffusion to image -draw string annotate the = image with a graphic primitive -edge radius apply a filter to detect = edges in the image -emboss radius emboss an image -encoding type text = encoding type -endian type endianness (MSB or LSB) of the image -enhance = apply a digital filter to enhance a noisy image -equalize perform = histogram equalization to an image -evaluate operator value evaluate an = arithmetic, relational, or logical expression -extent geometry set the = image size -extract geometry extract area from image -family name render = text with this font family -fill color color to use when filling a = graphic primitive -filter type use this filter when resizing an image = -flatten flatten a sequence of images -flip flip image vertically = -floodfill geometry color floodfill the image with color -flop flop = image horizontally -font name render text with this font -format = "string" output formatted image characteristics -frame geometry surround = image with an ornamental border -fuzz distance colors within this = distance are considered equal -fx expression apply mathematical = expression to an image channel(s) -gamma value level of gamma correction = -gaussian geometry gaussian blur an image -geometry geometry perferred = size or location of the image -green-primary point chromaticity green = primary point -gravity type horizontal and vertical text placement -help = print program options -identify identify the format and characteristics = of the image -implode amount implode image pixels about the center = -insert index insert last image into the image sequence -intent type = type of rendering intent when managing the image color -interlace type = type of image interlacing scheme -label name assign a label to an image = -lat geometry local adaptive thresholding -layers method optimize or = compare image layers -level value adjust the level of image contrast = -limit type value pixel cache resource limit -log format format of = debugging information -loop iterations add Netscape loop extension to = your GIF animation -map filename transform image colors to match this = set of colors -mask filename set the image clip mask -matte store matte = channel if the image has one -mattecolor color frame color -median = radius apply a median filter to the image -modulate value vary the = brightness, saturation, and hue -monitor monitor progress -monochrome = transform image to black and white -morph value morph an image sequence = -mosaic create a mosaic from an image sequence -motion-blur geometry = simulate motion blur -negate replace every pixel with its complementary = color -noise radius add or reduce noise in an image -normalize transform = image to span the full range of colors -opaque color change this color = to the fill color -ordered-dither NxN ordered dither the image -orient = type image orientation -page geometry size and location of an image = canvas (setting) -paint radius simulate an oil painting -ping = efficiently determine image attributes -pointsize value font point size = -posterize levels reduce the image to a limited number of color levels = -preview type image preview type -print string interpret string and = print to console -process arguments process the image with a custom = image filter -profile filename add, delete, or apply an image profile = -quality value JPEG/MIFF/PNG compression level -quiet suppress all error = or warning messages -radial-blur angle radial blur the image -raise = value lighten/darken image edges to create a 3-D effect = -random-threshold low,high random threshold the image -red-primary point = chromaticity red primary point -region geometry apply options to a = portion of the image -render render vector graphics -repage geometry = size and location of an image canvas -resample geometry change the = resolution of an image -resize geometry resize the image -roll geometry = roll an image vertically or horizontally -rotate degrees apply Paeth = rotation to the image -sample geometry scale image with pixel sampling = -sampling-factor geometry horizontal and vertical sampling factor -scale = geometry scale the image -scene value image scene number -seed value = pseudo-random number generator seed value -segment values segment an = image -separate separate an image channel into a grayscale image = -sepia-tone threshold simulate a sepia-toned photo -set attribute value = set an image attribute -shade degrees shade the image using a distant = light source -shadow geometry simulate an image shadow -sharpen geometry = sharpen the image -shave geometry shave pixels from the image edges = -shear geometry slide one edge of the image along the X or Y axis = -sigmodial-contrast geometry lightness rescaling using sigmoidal = contrast enhancement -size geometry width and height of image -solarize = threshold negate all pixels above the threshold level -splice geometry = splice the background color into the image -spread amount displace image = pixels by a random amount -strip strip image of all profiles and = comments -stroke color graphic primitive stroke color -strokewidth value = graphic primitive stroke width -stretch type render text with this font = stretch -style type render text with this font style -support factor = resize support: > 1.0 is blurry, < 1.0 is sharp -swap indexes swap two = images in the image sequence -swirl degrees swirl image pixels about the = center -texture filename name of texture to tile onto the image = background -threshold value threshold the image -thumbnail geometry = create a thumbnail of the image -tile filename tile image when filling a = graphic primitive -tint value tint the image with the fill color = -transform affine transform image -transparent color make this color = transparent within the image -transpose flip image vertically and rotate = 90 degrees -transverse flop image horizontally and rotate 270 degrees = -treedepth value color tree depth -trim trim image edges -type type = image type -undercolor color annotation bounding box color -units type = the units of image resolution -unsharp geometry sharpen the image = -verbose print detailed information about the image -version print = version information -view FlashPix viewing transforms -vignette geometry = soften the edges of the image in vignette style -virtual-pixel method = virtual pixel access method -wave geometry alter an image along a sine = wave -weight type render text with this font weight -white-point point = chromaticity white point -white-threshold value force all pixels above = the threshold into white -write filename write images to this file By = default, the image format of `file' is determined by its magic number. = To specify a particular image format, precede the filename with an image = format name and a colon (i.e. ps:image) or specify the image type as the = filename suffix (i.e. image.ps). Specify 'file' as '-' for standard = input or output. >>>>> But using this: [shell scriptid=3DImageMagick_convert] = /usr/bin/convert images/[filename] -resize 816x612 = images/[newfilename] [/shell] >>>>> Dosen't give me any results. >>>>> Any ideas? >>>>> Thanks a bunch, >>>>> sfb >>>>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Stephen Braun

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Re:no template caching (1997) showing *all* name/value pairs with [search] (2003) Problem with updating 2.1b7 -> 2.1.1 (1998) [sendmail] questions... (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Auto Submit (2000) groupfields .. again... (2000) emailer on Windows Beta 18 (1997) Apache 2.x (2003) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) [OT] 'Email this story to a friend' (2003) multiple price line in formula.db (2004) Keep away (1997) Follow-up to listfiles bug report ... (2003) Anyone get webdna to run on apache 2.x on osx? (2006) Major bug report on rootbeer (1997) GuestBook example (1997) page redirect in webDNA (1997) SiteGaurd file Cache vs webcatalog cache (1997) Another issue with [Date format] (1998)