I think in Lazyfoo's case he was using 24 bit and converting them to 32. He wants his surfaces to be the same format as the frame buffer so it copies faster.
It's where you start blitting an image on another image. Why does he write all the code to optimize the image? If use all 32 bit graphics do you even need to do that?