- Load the logo image.
- Loop over all .png and.jpg files in the working directory.
- Check whether the image is wider or taller than 300 pixels. ( any desired size required)
- If so, reduce the width or height (whichever is larger) to 300 pixels and scale down the other dimension proportionally.
- Paste the logo image into the corner. Save the altered images to another folder