Giter Club home page Giter Club logo

compromise's Introduction

compromise

An image compression fixing tool for Twitter users.

Note: Starting on Feb 11th 2019 this tool will no longer function due to changes in how twitter handle PNG conversion.

By default Twitter compresses PNG images to save space. This can be circumvented by making 1 pixel slightly transparent, in which case the server just stores it uncompressed. This tool automates this process making it easy to upload images without losing quality.

Usage

compromise 1.0
videah <[email protected]>

twitter image compression fixing tool

USAGE:
    compromise [FLAGS] [OPTIONS] --input <INPUT>

FLAGS:
    -h, --help       Prints help information
    -s, --silent     run (and fail) silently
    -V, --version    Prints version information

OPTIONS:
    -i, --input <INPUT>      path to image to be fixed
    -o, --output <OUTPUT>    path to save resulting fixed file

Results

At the time of writing (10th November, 2017) the tool gives the following boost to image quality. These are from the same picture uploaded twice, one before using compromise, and one after using it.

License

compromise is licensed under the MIT license. Please read the LICENSE file in this repository for more information.

Mentions

Go check out ravenworks's tool which is similar to compromise but in web app form

TODO

  • GUI Version
  • MacOS Version
  • Improve silence handling
  • Allow multiple images to be fixed at once

compromise's People

Contributors

videah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.