View Single Post
Old June 21st, 2006, 01:50 AM   #1 (permalink)
robert_2004
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 151
Exclamation 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.
robert_2004 is offline   Reply With Quote