in reply to Script to optimize images?

Optomize how?

And in this context, what does "optimize them all at once" mean to you?

Please see I know what I mean. Why don't you?