[magick-users] Resizing to minimum res and filter question

Fred Weinhaus fmw at alink.net
Sun Mar 29 21:00:41 PDT 2009


David,


I think you have the wrong quotes. Use double quotes to allow the 
variable substitution and the proper placement of the $.

see http://tldp.org/LDP/abs/html/arrays.html for bash arrays


convert ${file} -filter Lanczos -quality 50% -resize 
"${browser[1]}x${browser[2]}>^" ${file_generated}

Fred



>Hi Fred,
>
>Nope, hehe, the {} brackets aren't the problem, they convert my 
>values correctly. Very strange! Ok I'll take a deeper look at this 
>tomorrow and get back with what the issue is. Maybe something else 
>is happening at other parts of the script.
>
>Will get back to you soon,
>
>Dave


More information about the Magick-users mailing list