Coder Social home page Coder Social logo

imgutils's Introduction

imgutils

Basic command line utilities to invoke PIL

  1. src/genicons
  • Generate a set of 29 icon image files and JSON file needed for iOS application icons, based on an original PNG file:
  • Command "help" output: usage: genicons.py [-h] [-b basefile] [-i iconfmts] [-V] [-D] [-W] [-J] imgfile

PNG Image Scaler

positional arguments: imgfile Image file

optional arguments: -h, --help show this help message and exit -b basefile Base output file name -i iconfmts Icon formats JSON file -V verbose mode -D display input image -W write output images -J write output JSON file

  1. src/resize_image.py
  • Resize an image at the command line
  • Command "help" output: usage: resize_image.py [-h] [-b basefile] [-H height] [-W width] [-D DPI] [-Q quality] [-C] [-V] imgfile

PNG Image Resize

positional arguments: imgfile Image file

optional arguments: -h, --help show this help message and exit -b basefile Base output file name -H height Output file height -W width Output file width -D DPI Output file DPI -Q quality Output file quality -C Commit the changes -V Verbose mode

  1. src/convert_images.py
  • Convert image file format
  • Command "help" output: usage: convert_images.py [-h] [-F format] [-V] imgfile

File format converter

positional arguments: imgfile Input image file

optional arguments: -h, --help show this help message and exit -F format Output file format [jpg|jpeg|png] -V verbose mode

  1. src/crop_image.py
  • Crop an image file
  • Command "help" output: usage: crop_image.py [-h] [-b basefile] [-s start start] [-e end end] [-C] [-V] imgfile

Image Crop

positional arguments: imgfile Image file

optional arguments: -h, --help show this help message and exit -b basefile Base output file name -s start start Crop start point -e end end Crop end point -C Commit the changes -V Verbose mode

imgutils's People

Contributors

timothygraefe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.