allow image and codec objects to be re-used for mulitple encodes where the

file characteristics don't change between encodes - this doubles the frame rate.