Image Size

Thanks for your prompt reply. I tried to understand the code mentioned in the example, but I am not good at coding. Would be great, if you can explain the code and the steps.

Thanks a lot in advance.