Cheers, will do.

Wayne

On 13/04/2012, at 2:57 PM, Robert Garcia wrote:

> If you are making thumbnails from jpegs, may I strongly suggest that you use 
> the -thumbnail command and not resize. There are several reasons, but the 
> most important being that it wipes out the color profile and other meta data. 
> Very important when serving lots of thumbnails.
>
> --
> Robert Garcia
> BigHead Technology
> 15520 Coutolenc Rd
> Magalia, Ca 95954
> ph: 530.645.4040 x222 fax: 530.645.4040
> [email protected] - http://bighead.net/
> On Thursday, April 12, 2012 at 9:15 PM, Wayne Irvine wrote:
>
>> Scratch that!
>>
>> The secret was in the ImageMagick documentation. When doing a Windows Batch 
>> Script (and apparently a Mac OS BASH script too) replace '\' with '^'.
>>
>> Yay!
>>
>> Wayne Irvine
>>
>> On 13/04/2012, at 1:43 PM, Wayne Irvine wrote:
>>
>>> It works! (sorta)
>>>
>>> I have now changed the BASH script and the Command Line action.
>>>
>>> First a make a VAR cmd and assign it like the following:
>>>
>>> <@ASSIGN NAME=cmd SCOPE=local 
>>> VALUE='/Library/Server/Web/Data/Sites/~luxe/tours/raw/IllyFreak679212.jpg 
>>> -resize 200x200 
>>> /Library/Server/Web/Data/Sites/~luxe/tours/images/IllyFreak679212.jpg'>
>>>
>>> The Command Line action is:
>>>
>>>> Command: /Library/Server/Web/Data/Sites/~luxe/admin/resizeimage.sh
>>>>
>>>> Environment Variable:
>>>> cmd        @@local$cmd
>>>>
>>>
>>> Trouble is the actual command I want to use is:
>>>
>>> -resize 200x200\>
>>>
>>> The backslash is causing an error. I have tried escaping it:
>>>
>>> -resize 200x200\\>
>>>
>>> But no difference.
>>>
>>> Any clues?
>>>
>>> Wayne Irvine
>>>
>>>
>>> To unsubscribe from this list, please send an email to 
>>> [email protected] with "unsubscribe terascript-talk" in the body.
>>
>>
>> To unsubscribe from this list, please send an email to 
>> [email protected] with "unsubscribe terascript-talk" in the body.
>
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to