{"repo":"rendro/vintageJS","free":true,"listed":false,"github":"https://github.com/rendro/vintageJS","clone":"git clone https://github.com/rendro/vintageJS.git","description":"Add a retro/vintage effect to images using the HTML5 canvas element","language":"TypeScript","stars":841,"topics":["vintage","javascript","retro","canvas","image-processing","instagram"],"license":"MIT","category":"media-processing","readme_excerpt":"vintageJS Add a retro/vintage effect to images using the HTML5 canvas element. Installation How to use vintagejs is a function that takes a source (URL, ImageElement or CanvasElement) and an effect (object with all the options) and returns a Promise that resolves to a result object. The result object provides the following methods to access the modified image data: If not provided, mimeType defaults to image/jpeg and quality defaults to 1 . More Examples Effect options Examples See examples folder for more examples. Browser support Check support for the canvas element canisue.com/canvas. Higher performance when canvas blend modes are supported caniuse.com/#feat=canvas-blending, but fallbacks are implemented. License MIT Changelog 2.3.0 Migrated the toolchain from Flow + Browserify to TypeScript + Vite; the library is now written in TypeScript and ships .d.ts type declarations Added an ES module build ( dist/vintage.mjs ) alongside the existing UMD ( dist/vintage.js ) and minified ( dist/vintage.min.js ) bundles Fixed all 31 npm audit vulnerabilities (5 critical, 9 high) by removing the legacy build/test dependencies — no runtime dependency was affected No API changes: the UMD global vintagejs and the function signature are unchanged 2.2.0 Added true grayscale effect (Thanks @bjornbos for PR #38) 2.1.0 Add support for strings (URI or base64 encoded data-uri) as a source 2.0.0 Rewrite from ground up Functional API 1.1.5 Added \"main\" field to package.json 1.1.4 Added universal m","default_branch":null,"files":null,"tree":[],"storefront":"/r/rendro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rendro/vintageJS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}