David,

Perhaps your version of IM is older than the ^ function that was 
introduced in IM 6.3.8-3. If not, then ....

The correct format for an array in bash is ${arrayname[0]}

Try setting

browser0=${browser[0]}
browser1=${browser[1]}

Then use -resize '${browser0}x${browser1}>^'

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