; $Id$ 5.x-1.0-alpha1 ---------------------------- new: - Preserve image type - Alpha blending - Apply watermark on uploaded images only - Watermark on previews - Watermark scaling, thanks to michael curry (inactivist@gmail.com), http://drupal.org/node/81161 - Toggles: Exclude gallery terms changes: - assuming full path is stored in db ($dir removed, http://drupal.org/node/142178) - visible name is now "Image Watermark", project name is still "watermark" - image creation process has been slightly changed to transform images to truecolor first, unfortunately this makes the watermark process more memory extensive now, because we need an additional image handle for this transformation - Watermark settings moved to "Image Watermark" menu, to be able to change our watermark settings for new image uploads without the need to resave image settings and not to run into a new problem. This is a change due to the behaviour of image module that uses _image_build_derivatives every time settings has been saved. This causes watermarks to disappear or to appear on all image sizes. We don't change that behavior or interfere with it. Otherwise we need to store an additional copy of the original image to recreate watermars with a hook into image_alter. This might be a new feature: trade space for automatic retroactivity... 5.x.-1.x-dev ------------ original version by Khalid Baheyeldin of http://2bits.com --> $Id: watermark.module,v 1.5.2.1 2007/02/18 23:59:52 kbahey Exp $