jpg-dummy

1.1.1 • Public • Published

Simple browser/node module to create a dummy jpg file of specific dimensions.

Installation

$ npm install jpg-dummy

Usage

const jpgDummy = require('jpg-dummy');

// Generates a 100 x 100 jpg file
const jpgFile = jpgDummy(100, 100)

API

jpgDummy(width: number, height: number): ArrayBuffer

Readme

Keywords

none

Package Sidebar

Install

npm i jpg-dummy

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

1.1 kB

Total Files

3

Last publish

Collaborators

  • maximedupre