{ "info": { "author": "Pavel Zhukov", "author_email": "gelios@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Watermarker\n===========\n\nLibrary for add text watermarks to images using PIL\n\nInstallation:\n=============\n\n* Install with pip or easy install (All dependencies will be installed automatically)\n\n\nUsage:\n======\n\nImport watermark function from watermarker, then call watermark, providing options:\n\n* image (required) - PIL Image instance\n* text (required)- text to add over image\n* font_path (required)- font that will be used\n* font_scale (required or font_size provided) - watermark font size will be set as percent of image height\n* font_size (required or font_scale provided)\n* color (optional) - default (0,0,0)\n* opacity (optional) - default 0.6\n* margin (optional) - default (30, 30) - margin, in pixels, from bottom right corner of image, where watermark will be placed\n\nsorl-thumbnail integration\n--------------------------\n\nAdd to your settings::\n\n THUMBNAIL_ENGINE = 'watermarker.sorl_engine.WatermarkEngine'\n WATERMARK_OPTIONS = {'font_scale': 0.05, 'font_path': PATH_TO_FONT} # Any other options from watermark function\n WATERMARK_MIN_SIZE = 50 #Minimum image size (max(height, width)) to add watermark\n\nYou can add::\n\n WATERMARK_FORCE = u'watermark text' # Add watermark to all images except less than WATERMARK_MIN_SIZE\n\nor add watermark option to thumbnail tag::\n\n thumbnail image \"1000x1000\" watermark=\"my watermark\"", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/zeus/watermarker", "keywords": "watermark,library", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "watermarker", "package_url": "https://pypi.org/project/watermarker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/watermarker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/zeus/watermarker" }, "release_url": "https://pypi.org/project/watermarker/1.1/", "requires_dist": null, "requires_python": null, "summary": "Library for add text watermarks to images using PIL, support sorl-thumbnail integration", "version": "1.1" }, "last_serial": 801526, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "96f719b40dfb98c662738123d93ee863", "sha256": "954dba1ba405c96eafaa01ea2c326f3c580dee2a993d6e43f7d647fc16647ccd" }, "downloads": -1, "filename": "watermarker-1.0.tar.gz", "has_sig": false, "md5_digest": "96f719b40dfb98c662738123d93ee863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2694, "upload_time": "2010-12-12T23:53:06", "url": "https://files.pythonhosted.org/packages/f6/f6/4445b3c7a713d49b65fea528aff9a9a98aa36474c5c9d57c14a8d5f3cfff/watermarker-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "d1717462c9bd29464983babd2f0c43bb", "sha256": "8ea0ece7910c259f0d325a5cc5aec6536cab888796cd1177eb6901d2bc7d1268" }, "downloads": -1, "filename": "watermarker-1.1.tar.gz", "has_sig": false, "md5_digest": "d1717462c9bd29464983babd2f0c43bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2752, "upload_time": "2011-07-07T09:58:20", "url": "https://files.pythonhosted.org/packages/e7/c8/3c24551276a952fd97b373ba33a533715247058fd5bfd9a7bf5d8e4443dd/watermarker-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d1717462c9bd29464983babd2f0c43bb", "sha256": "8ea0ece7910c259f0d325a5cc5aec6536cab888796cd1177eb6901d2bc7d1268" }, "downloads": -1, "filename": "watermarker-1.1.tar.gz", "has_sig": false, "md5_digest": "d1717462c9bd29464983babd2f0c43bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2752, "upload_time": "2011-07-07T09:58:20", "url": "https://files.pythonhosted.org/packages/e7/c8/3c24551276a952fd97b373ba33a533715247058fd5bfd9a7bf5d8e4443dd/watermarker-1.1.tar.gz" } ] }