Uhaaau!
greate! 
Thank you very much!

Q


El dt 15 de 01 del 2008 a les 01:06 +0100, en/na Helge Nert va escriure:
> 1. Make sure you have installed imagemagick which provides the
> functions 'identify' and 'convert' used in the script.
> 
> 2. Note that the script converts all files in the current folder whose
> name contain the string 'jpg' (lower case only!). 
> 
> I would change the line:
> 
> for element in `ls . | grep jpg`;
> 
> to:
> 
> for element in `ls . | grep -i '\.jpe*g$\'`;
> 
> Now the script converts all files which are named <anything>.jpg and
> <anything>.jpeg and it ignores the case of the jp(e)g letters, i.e. it
> also converts files named <anything>.JPEG, <anything>.Jpeg etc.
> 
> I hope this solves your problem.
> 
> On Jan 14, 2008 9:05 PM, quim <[EMAIL PROTECTED]> wrote:
>         Hi,
>         I found this shell-script in the spanish manual to resize
>         images to can 
>         use with cinelerra:
>                #/bin/sh
>                mkdir resized
>                for element in `ls . | grep jpg`;
>                do
>                    size=`identify ${element}`
>                    width=`echo ${size} | sed '+s+.*JPEG ++' | sed '+s
>         +x.*++'` 
>                    height=`echo ${size} | sed '+s+.*JPEG [0-9]*x++' |
>         sed '+s+DirectClass.*++'`
>                    let new_width=${width}*9375/10000
>                    convert -resize "${new_width}x${height}!" -quality
>         100 ${element} resized/${element} 
>                done
>         
>         But it doesen't works... it only creates the folder called
>         "resized" but doesn't do anything more..
>         
>         In another list somone told me that I have to change the first
>         line and
>         write #!/bin/bash intead of #/bin/sh
>         but it doesn't works neither
>         
>         Someone can help me please?
>         And, is there any other way to can edit a motion using jpg
>         pictures?
>         this way it doesn't seems easy...
>         Thanks!
>         
>         Quim (sorry for this horrible "english", I can't do it
>         better...)
>         
>         
>         _______________________________________________
>         Cinelerra mailing list
>         [email protected]
>         https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
> 


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to