Coder Social home page Coder Social logo

fcif's Introduction

fcif

The Few Colors Image Format compression algorithm

FCIF(few colors image format) is a lossy image compression alghoritm, mostly focused on graphics that don't use many colors(like icons or simple logos). It uses a combination of reducing color palette using K-means clustering and run-length encoding of color sequences to provide up to 30% the size for certain images.

Yeah. It's what it says on the tin.

Installation

Only from GitHub for now, as the CLI is unpolished. This probably won't be getting an official release very soon.

Usage

python -m fcif <img> [--palette N]

is used for both compression and decompressionn of images. The more colors you add on to the palette, the better the image will look, however, the efficiency of the compression will drop drastically.

Contribution

do anything with it, really. It's open-source. Just submit a PR if you don't feel like making a fork.

also i know i misspelled "palette" in the code but who cares.

fcif's People

Contributors

jenca-adam 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.