fake-image-generator

Generate a fake JPG or PNG image in any size between 1 KB and 2 GB.

Usage no npm install needed!

<script type="module">
  import fakeImageGenerator from 'https://cdn.skypack.dev/fake-image-generator';
</script>

README

fake-image-generator-node

Generate a fake JPG or PNG image in any size between 1 KB and 2 GB.

This was made for generating big files that pose as images for testing purposes (for testing an image upload feature in an app, for example).

Requirements

This utility was tested in Node 12.14.1.

Installation

npm install -g fake-image-generator

Build

npm install

Usage

fake-image-generator --size 15500 --extension png --output C:\