fusodis
v1.0.1
Published
Slap a random low-quality piece of hashish onto any image. MS Paint style. Because why not.
Maintainers
Readme
FusoDiS
Slap a piece of hashish onto any image. MS Paint style. No questions asked.
Example
| Before | After |
|--------|-------|
|
|
|
Why?
Because the world needed this. You're welcome.
Installation
npm install fusodisUsage
import { fusoDiSify } from 'fusodis';
import fs from 'fs';
const input = fs.readFileSync('your-beautiful-photo.png');
const ruined = await fusoDiSify(input);
fs.writeFileSync('masterpiece.png', ruined);Options
const result = await fusoDiSify(input, {
format: 'jpeg', // 'png' | 'jpeg' | 'webp'
});What does it do?
- Takes your perfectly fine image
- Resizes a piece of hashish to roughly 20% of your image
- Rotates it slightly because precision is overrated
- Pastes it at a random location on your image
- Returns the result. You're welcome.
Requirements
- Node.js >= 18
- An image
- Questionable judgment
License
MIT - Do whatever you want. We're not your parents.
