smush pro thumbnail compression?

Does smush pro optimize the auto generated re-sized images too, or just the main uploaded image?