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

Fred Weinhaus fmw at alink.net
Sun Mar 29 20:55:47 PDT 2009


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


More information about the Magick-users mailing list