GithubHelp home page GithubHelp logo

chenjiufu / jimp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jimp-dev/jimp

0.0 1.0 0.0 439.18 MB

An image processing library written entirely in JavaScript for Node, with zero external or native dependencies.

License: MIT License

JavaScript 95.06% TypeScript 3.07% HTML 1.87%

jimp's Introduction

Jimp

JavaScript Image Manipulation Program

An image processing library for Node written entirely in JavaScript, with zero native dependencies.

Installation: npm install --save jimp

API documentation can be found in the main jimp package

Tools

🔨 cli - Jimp as a CLI program. Can load and run all plugins

Supported Image Types

Image Manipulation Methods (Default Plugins)

  • blit - Blit an image onto another.
  • blur - Quickly blur an image.
  • color - Various color manipulation methods.
  • contain - Contain an image within a height and width.
  • cover - Scale the image so the given width and height keeping the aspect ratio.
  • displace - Displaces the image based on a displacement map
  • dither - Apply a dither effect to an image.
  • flip - Flip an image along it's x or y axis.
  • gaussian - Hardcore blur.
  • invert - Invert an images colors
  • mask - Mask one image with another.
  • normalize - Normalize the colors in an image
  • print - Print text onto an image
  • resize - Resize an image.
  • rotate - Rotate an image.
  • scale - Uniformly scales the image by a factor.

Extra Plugins

  • circle - Creates a circle out of an image.
  • shadow - Creates a shadow on an image.
  • fisheye - Apply a fisheye effect to an image.
  • threshold - Lighten an image. Good for scanned drawing and signatures.

🚀 If you want to add your plugins to this list make a PR! 🚀

Custom Jimp

If you want to extend jimp or omit types or functions visit @jimp/custom.

  • Add file-types or switch encoder/decoders
  • Add add/remove plugins (image manipulation methods)

Contributing

Basically clone, change, test, push and pull request.

Please read the CONTRIBUTING documentation.

License

Jimp is licensed under the MIT license. Open Sans is licensed under the Apache license

Project Using Jimp

favicons - A Node.js module for generating favicons and their associated files.

node-vibrant - Extract prominent colors from an image.

lqip - Low Quality Image Placeholders (LQIP) Module for Node

webpack-pwa-manifest - A webpack plugin that generates a 'manifest.json' for your Progressive Web Application, with auto icon resizing and fingerprinting support.

wdio-screenshot - A WebdriverIO plugin. Additional commands for taking screenshots with WebdriverIO.

asciify-image - Convert images to ASCII art

node-sprite-generator - Generates image sprites and their spritesheets (css, stylus, sass, scss or less) from sets of images. Supports retina sprites.

merge-img - Merge multiple images into a single image

postcss-resemble-image - Provide a gradient fallback for an image that loosely resembles the original.

differencify - Perceptual diffing tool

gifwrap - A Jimp-compatible library for working with GIFs

replace-color - Replace color with another one pixel by pixel

jimp's People

Contributors

hipstersmoothie avatar oliver-moran avatar strandedcity avatar edi9999 avatar maximilianos avatar neophob avatar marcolino avatar iwsfg avatar kolbma avatar super-ienien avatar f-barth avatar arackaf avatar aurium avatar bdsomer avatar dftian avatar russleyshaw avatar codelenny avatar rustamli avatar turakvlad avatar bridgear avatar hexonaut avatar selaux avatar sqrrrl avatar stevemao avatar tombull avatar tonystr avatar laurentva avatar iamstarkov avatar philhannent avatar theill avatar

Watchers

James Cloos 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.