How to pass variables to ImageMagick using a [shell] context?
numero = 41[text]height=100[/text][text]width=100[/text][text]sourcefile=logo.jpg[/text][text]resultfile=result.jpg[/text]Then you would a use a [shell] script like this (in your SandBoxes scripts) to resize the image.
[shell]path-to-ImageMagick/convert -size [width]x[height] [sourcefile] -resize [width]x[height] +profile "*" [resultfile][/shell]Simply set the variable on the page above the [shell], and when you construct the script you want to run within [shell], just drop the [variable] in.
[text]height=100[/text]
[text]width=100[/text]
[text]sourcefile=logo.jpg[/text]
[text]resultfile=result.jpg[/text]
[shell]
path-to-ImageMagick/convert -size [width]x[height] [sourcefile] -resize [width]x[height] +profile "*" [resultfile]
[/shell]
DOWNLOAD WEBDNA NOW!
Amazon Web Services (AWS) README for Machine Image ID...
Download WebDNA ApplicationsWebDNA applications...
WebDNA LibrariesA list of available libraries for WebDNA...
WebDNA ModulesA list of the currently available modules...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
WebDNA reference...
Find duplicate records and do something with them...
Hideif on IP rangeThis will show or hide stuff according to the IP...
How many working days?This small script finds the number of working days between two dates...
Formatting a long list in a tableHow to show the result of a search as a table...
WebDNA Google Map MashupGenerate a Google map with pins on your database addresses...
Check the Federal Government's Social Security databaseThe script on the page will check the federal government's social security database...