Giter Site home page Giter Site logo

jpeg-compress's Introduction

Jpeg convertor

Project to create a tool able to convert and compress images in the browser !

This is powered by


Prerequisite

To build this project on linux, you will need a package called "libncurses5".

On debian-based distros:

sudo apt install libncurses5

On arch-based distros:

sudo pacman -S ncurses
sudo ln -s /usr/lib/libtinfo.so.6 /usr/lib/libtinfo.so.5

Installation

git clone https://github.com/rambip/jpeg-compress
cd jpeg-compress
npm install
npm run build

Then, you will have a website ready to deploy inside jpeg-compress/build ! If you want to test it in your browser, just run:

npm run serve

It will start a local server

Usage:

You can use this tool to select multiple images from your local computer, set a quality for all of them, and convert them all at once !

The result will be stored in a jpeg-result.zip

Inspiration

They are really good tool out there, like squoosh.

Personnally, I tried to do everything from scratch with the webassembly, I used the c stb headers for image manipulation.

jpeg-compress's People

Contributors

rambip avatar

Stargazers

 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.