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
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to