watermark file is larger than image
i've been having problems with watermarking images, where the actual watermark file itself is larger than the photo being watermarked.
This means the image does not get watermarked.
anyone have a fix for this??
i.e watermark file is 140px wide
photo is 120px wide,
the watermark doesn't resize to fit, so no watermark is attached.
if someone could make a loop() function to resize the watermark by 10% and check if it will fit, and it not, then 20%, then 30%, etc, until the watermark fits on the image.
|