{ "info": { "author": "JGill", "author_email": "joty@mygnu.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Utilities" ], "description": "# pillowcover\nMass Manipulate Images Using Python: Change Brightness, Contrast, Sharpness, Resize, Compress, Crop and Convert (e.g png to jpg).\nA simple script (wrapper) using pillow.\nLicensed Under: GNU General Public License v3 or later (GPLv3+)\n\n## Requirements\npython >= 3.5, pillow\n\n## Installation\nSimplest option is to install with pip using sudo.\n``` bash\nsudo python3 -m pip install pillowcover --upgrade\n```\n--OR--\nInstall as a user without sudo. This installs it in ~/.local/bin/ make sure this path is in your $PATH.\n``` bash\npython3 -m pip install --user pillowcover --upgrade\n```\nIf not found, add the following to your .bashrc or .zshrc\n``` bash\n# Add to PATH to Install and run programs with \"pip install --user\"\nexport PATH=$PATH:~/.local/bin\n```\n\n## Usage\nTo increase brightness, contrast, sharpness by 20% and resize all images (landscape, portrait)\nto max dimension of 1920 pixels (using largest dimension. hight or width) and compress them to 60%\nin a given folder while keeping the same aspect ratio.\n\n``` bash\npillowcover -d /home/user/Pictures/ -b 1.20 -c 1.20 -s 1.20 -r 1920 -q 60\n```\n\nTo crop (640*480 from the left corner) and convert (from png to jpg) all images in a folder.\n``` bash\nplc -d /home/user/Pictures/ -k \"0,0,640,480\" -x jpg\n```\n\n## Usage Options\n``` bash\nusage: pillowcover [-h] [-v] [-d DIR] [-o OUTPUT_DIR] [-b BRIGHTNESS] [-c CONTRAST]\n [-s SHARPNESS] [-r RESIZE] [-R RESIZE_RATIO] [-k CROP]\n [-q COMPRESSION] [-x EXTENSION]\n [image_file]\n\nPillowCover: Mass Manipulate Images Using Python: Change Brightness, Contrast,\nSharpness, Resize, Compress, Crop and Convert. A simple script (wrapper) using\npillow. Licensed Under: GNU General Public License v3 or later (GPLv3+)\n\npositional arguments:\n image_file Full path to the image file to edit\n\noptional arguments:\n -h, --help show this help message and exit\n -v, --version show program\\'s version number and exit\n -d DIR, --dir DIR Path to the directory containing the image files\n -o OUTPUT_DIR, --out-dir OUTPUT_DIR\n Path to output directory to store edited images. by\n default they get stored in (parent\n director)/pillowcover-output\n -b BRIGHTNESS, --brightness BRIGHTNESS\n Change brightness level, 1.00 is the current value\n -c CONTRAST, --contrast CONTRAST\n Change contrast level, 1.00 is the current value\n -s SHARPNESS, --sharpness SHARPNESS\n Change sharpness level, 1.00 is the current value\n -r RESIZE, --resize RESIZE\n Resize img, keep ratio. provide the maximum\n length/width value as one number. e.g pillowcase.py\n img -r 1920\n -R RESIZE_RATIO, --resize-ratio RESIZE_RATIO\n Resize img by providing new width and length e.g\n pillowcase.py img -R \"640 480\"\n -k CROP, --crop CROP Crop img by providing starting point then width and\n length from it e.g pillowcase.py img -k \"0,0,640,480\"\n -q COMPRESSION, --compression-quality COMPRESSION\n Compression quality 1-100, 100 means no compression at\n all\n -x EXTENSION, --extension EXTENSION\n Specifiy the output extension. Can be 'jpg', 'jpeg',\n 'png' Default is same as the input file's. e.g\n pillowcase.py -d imgdir -x \"jpg\"\n\n\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jotyGill/pillowcover", "keywords": "images,image-minipulation", "license": "GNU General Public License v3 or later (GPLv3+)", "maintainer": "", "maintainer_email": "", "name": "pillowcover-gui", "package_url": "https://pypi.org/project/pillowcover-gui/", "platform": "GNU/Linux", "project_url": "https://pypi.org/project/pillowcover-gui/", "project_urls": { "Homepage": "https://github.com/jotyGill/pillowcover" }, "release_url": "https://pypi.org/project/pillowcover-gui/1.2.0/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Easily Manipulate Images Using Python: Change Brightness, Contrast, Sharpness, Resize", "version": "1.2.0" }, "last_serial": 4488060, "releases": { "1.2.0": [ { "comment_text": "", "digests": { "md5": "3eb9b60a861e4c223f3aa0c44aabc0f0", "sha256": "b8e3cc3bd9ef61bf381af7bbb9d2602a8d074fcfb891ef969f01088afcbbf50e" }, "downloads": -1, "filename": "pillowcover_gui-1.2.0.tar.gz", "has_sig": false, "md5_digest": "3eb9b60a861e4c223f3aa0c44aabc0f0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5260, "upload_time": "2018-11-15T03:39:42", "url": "https://files.pythonhosted.org/packages/82/ab/c690151d6433de50d2b863e29f4bb6522c852219e2e75a70fde01423f2d5/pillowcover_gui-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3eb9b60a861e4c223f3aa0c44aabc0f0", "sha256": "b8e3cc3bd9ef61bf381af7bbb9d2602a8d074fcfb891ef969f01088afcbbf50e" }, "downloads": -1, "filename": "pillowcover_gui-1.2.0.tar.gz", "has_sig": false, "md5_digest": "3eb9b60a861e4c223f3aa0c44aabc0f0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5260, "upload_time": "2018-11-15T03:39:42", "url": "https://files.pythonhosted.org/packages/82/ab/c690151d6433de50d2b863e29f4bb6522c852219e2e75a70fde01423f2d5/pillowcover_gui-1.2.0.tar.gz" } ] }