1.1.3 • Published 3 years ago

effects-gallery.js v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

EffectsJS

A simple module to add effects to your pictures 🎨

Project under construction... follow the progress on the Discord server.

If you don't have any development knowledge, it is recommended to join the Discord support server to get help.

🎠 A nice and easy to use system

Add a blur filter to an image ? It's possible and easy !

const { Blur } = require('effects-gallery.js');

new Blur()
    .setImage('./img.png')
    .setLevel(5)
    .write('./new.png')
    .build().then(console.log('Saved'))

new Blur({
    image: './img.png',
    level: 5,
    file: './new.png'
}).build().then(console.log('Saved'))

Simple Discord example (discord.js v13)

const { Blur } = require('effects-gallery.js');
const { Client, Intents } = require('discord.js');

const client = new Client({
    intents: [
        Intents.FLAGS.GUILDS,
        Intents.FLAGS.GUILD_MESSAGES
    ]
});

client.on('messageCreate', (message) => {
    if (message.author.bot) return;

    new Blur()
        .setImage('./img.png')
        .setLevel(5)
        .build().then(res => {
            message.channel.send({
                content: 'Hello world', files: [
                    { attachment: res }
                ]
            })
        })
});

client.login('');

⚡️ Available features

Find the features available on the GitHub page of the project.

Realized with ❤️ by ZerioDev.

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago