{ "info": { "author": "Davide Riccardo Caliendo", "author_email": "davide.licheni.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "INSTALL\n=======\n\nput easy_thumbnails_watermark in INSTALLED_APPS\n\n::\n\n INSTALLED_APPS = (\n 'easy_thumbnails_watermark',\n )\n\nadd the watermark preprocesor in your settings\n\n::\n\n from easy_thumbnails.conf import Settings as easy_thumbnails_defaults\n\n THUMBNAIL_PROCESSORS = easy_thumbnails_defaults.THUMBNAIL_PROCESSORS + (\n 'easy_thumbnails_watermark.thumbnail_processors.watermark_processor',\n )\n\nand add 'WATERMARK': , to your thumbnail definition for easy_thumbnails.\n\n::\n\n 'thumb': {\n ...\n 'WATERMARK': { \n 'image': 'main/img/logo.png',\n 'opacity': 0.2,\n 'scale': '40%',\n },\n ...\n },\n\nAnd one of the following settings:\n\n* ``image`` - A path to an image in your static files folder\n* ``position`` - Specify the relative position in one of four image corners ``BR``, ``BL``,\n ``TR``, and ``TL``. These represent 'bottom-right', 'bottom-left', 'top-right', and 'top-left' respectively.\n \n Alternatively, you can use relative or absolute positioning for the\n watermark. Relative positioning uses percentages; absolute positioning uses\n exact pixels. You can mix and match these two modes of positioning, but you\n cannot mix and match relative/absolute with the corner positioning. When\n using relative/absolute positioning, the value for the ``position`` parameter\n is ``XxY``, where ``X`` is the left value and ``Y`` is the top value. The\n left and top values must be separated with a lowercase ``x``.\n\n If you wanted your watermark image to show up in the center of any image you\n want to watermark, you would use a position parameter such as\n ``position=50%x50%`` or even ``position=C``. If you wanted the watermark to\n show up half-way between the left and right edges of the image and 100 pixels\n from the top, you would use a position parameter such as\n ``position=50%x100``. \n\n Finally, you may tell the filter to generate a position for your watermark\n dynamically. To do this, use ``position=R``.\n* ``opacity`` - This parameter allows you to specify the transparency of the\n applied watermark. The value must be an integer between 0 and 1, where 0\n is fully transparent and 1 is fully opaque. By default, the opacity is set\n at 0.5.\n* ``tile`` - If you want your watermark to tile across the entire image, you\n simply specify a parameter such as ``tile=1``.\n* ``scale`` - If you'd like to have the watermark as big as possible on the\n target image and fully visible, you might want to use ``scale=F``. If you\n want to specify a particular scaling factor, just use something like\n ``scale=1.43``.\n Scale could also be a percentage of the smallest image, the one to be watermarked,\n dimension, for example '20%' would scale the watermark to be 20% of the smallest\n between width and height of the target image.\n* ``greyscale`` - If you want your watermark to be greyscale, you can specify\n the parameter ``greyscale=1`` and all color saturation will go away.\n* ``rotation`` - Set this parameter to any integer between 0 and 359 (really\n any integer should work, but for your own sanity I recommend keeping the\n value between 0 and 359). If you want the rotation to be random, use\n ``rotation=R`` instead of an integer.\n* ``noalpha`` defaults to False, removes any alpha introduced with the watermark effect, useful to force a jpg image to remain the same, saving a lot of space, setting to True effectively converts any RGBA color space to RGB.\n\nThey defaults to watermark=False, position='C', opacity=100, scale=1, tile=False, greyscale=False, rotation=0\n\nCredits\n=======\n\nI copied various code from https://raw.github.com/codekoala/django-watermark\nand simply adapted for easy_thumbnails", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://v.licheni.net/drc/django-easy-thumbnails-watermark.git", "keywords": null, "license": "GPLv3 License", "maintainer": null, "maintainer_email": null, "name": "django-easy-thumbnails-watermark", "package_url": "https://pypi.org/project/django-easy-thumbnails-watermark/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-easy-thumbnails-watermark/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://v.licheni.net/drc/django-easy-thumbnails-watermark.git" }, "release_url": "https://pypi.org/project/django-easy-thumbnails-watermark/0.6.9/", "requires_dist": null, "requires_python": null, "summary": "A watermark filter for easy_thumbnails", "version": "0.6.9" }, "last_serial": 1308084, "releases": { "0.6.2": [ { "comment_text": "", "digests": { "md5": "b5db1ec3f334232bed3029919f4414d8", "sha256": "a693232005506d952e18dc0493e1a1c0555e783e4656eaca88620426be01f73b" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.2.tar.gz", "has_sig": false, "md5_digest": "b5db1ec3f334232bed3029919f4414d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17627, "upload_time": "2014-03-06T17:14:20", "url": "https://files.pythonhosted.org/packages/ae/82/e0dd8f5be6b531de4baf00c7628102bbb95ee7a6320b1e1e11407d4cc050/django-easy-thumbnails-watermark-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "76a1a0c7ed88409bcc794a6973b29bc5", "sha256": "ad98c9309caddaa63a49844a673fbc91d1543cfd2f1e02de3e01e4911a1ba050" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.3.tar.gz", "has_sig": false, "md5_digest": "76a1a0c7ed88409bcc794a6973b29bc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17732, "upload_time": "2014-09-22T18:15:50", "url": "https://files.pythonhosted.org/packages/98/79/266422b6b4c0836a2625d1e2dd0dea835238395502a1dc0a4277a0e8e6aa/django-easy-thumbnails-watermark-0.6.3.tar.gz" } ], "0.6.5": [ { "comment_text": "", "digests": { "md5": "611e769a4ce4b58b682738af0701a1c9", "sha256": "330d955c08a04bfbb7659a852c715dde9bed186493aca0da40bf4cbd066c7ea3" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.5.tar.gz", "has_sig": false, "md5_digest": "611e769a4ce4b58b682738af0701a1c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17739, "upload_time": "2014-09-24T15:50:23", "url": "https://files.pythonhosted.org/packages/89/5f/748b36f6255973b95ecb99cc7637e9a9272d614d425ac54347da490a943e/django-easy-thumbnails-watermark-0.6.5.tar.gz" } ], "0.6.6": [ { "comment_text": "", "digests": { "md5": "36eac300921fa6e80580e768ccf2e22a", "sha256": "1a756e2fcf79e697ab5e70024fb6bdb25886807acba31b935ecf366d8032a862" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.6.tar.gz", "has_sig": false, "md5_digest": "36eac300921fa6e80580e768ccf2e22a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17757, "upload_time": "2014-09-24T16:23:04", "url": "https://files.pythonhosted.org/packages/3a/21/d75124640b6afd1d54f9f8400ce2936e270b32541b2c74296d3602edb181/django-easy-thumbnails-watermark-0.6.6.tar.gz" } ], "0.6.7": [ { "comment_text": "", "digests": { "md5": "5d17620bad97d9524b07aadacf276196", "sha256": "a95483069545d5c055ebede0a4fc7b250115475c5cfb417b2898798dde82e92c" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.7.tar.gz", "has_sig": false, "md5_digest": "5d17620bad97d9524b07aadacf276196", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17874, "upload_time": "2014-09-25T10:31:35", "url": "https://files.pythonhosted.org/packages/31/22/897a9555a3374ee8e1570e63e9eb4d3261d2b478c473995f37f3cabe82aa/django-easy-thumbnails-watermark-0.6.7.tar.gz" } ], "0.6.8": [ { "comment_text": "", "digests": { "md5": "685da6918c00a2bfc674ab7fc0bf812b", "sha256": "75ef2b645a51428081e8ec991191d1b5fd4852d157ef8ccbe7a34e5e07e0e576" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.8.tar.gz", "has_sig": false, "md5_digest": "685da6918c00a2bfc674ab7fc0bf812b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17768, "upload_time": "2014-11-15T14:35:57", "url": "https://files.pythonhosted.org/packages/1c/d0/6b17f9fff88901c32048fbfc681659645ed00a2e9bc26085b1ab52bc8c40/django-easy-thumbnails-watermark-0.6.8.tar.gz" } ], "0.6.9": [ { "comment_text": "", "digests": { "md5": "b53278a15c880155bce027993fbfeef7", "sha256": "553495fb02d944ba8748454f4f7fa720242366e45946868404d978084ba2efb9" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.9.tar.gz", "has_sig": false, "md5_digest": "b53278a15c880155bce027993fbfeef7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17884, "upload_time": "2014-11-15T14:39:14", "url": "https://files.pythonhosted.org/packages/14/d2/40393c907820339abf57a098312aec0d54627c899bfea7b0859b01803690/django-easy-thumbnails-watermark-0.6.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b53278a15c880155bce027993fbfeef7", "sha256": "553495fb02d944ba8748454f4f7fa720242366e45946868404d978084ba2efb9" }, "downloads": -1, "filename": "django-easy-thumbnails-watermark-0.6.9.tar.gz", "has_sig": false, "md5_digest": "b53278a15c880155bce027993fbfeef7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17884, "upload_time": "2014-11-15T14:39:14", "url": "https://files.pythonhosted.org/packages/14/d2/40393c907820339abf57a098312aec0d54627c899bfea7b0859b01803690/django-easy-thumbnails-watermark-0.6.9.tar.gz" } ] }