Image generation library
Fietu |
|
Clases |
|
Canvas |
Filters and Efects |
Tweet |
Generate a tweet |
Love |
Generate a graph to measure your love |
Canvas |
|
blur |
Generates a blurred effect |
invert |
Generates an inverted effect |
pixelate |
Generates a pixelated effect |
greyscale |
Generates a black and white effect |
brightness |
Generates a shimmering effect |
rainbow |
Generates a rainbow effect |
circle |
Generates a circle |
const fietu = require("fietu")
const buffer = await fietu.Canvas.blur("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.webp?size=1024")
![img](https://camo.githubusercontent.com/06b583cca48abf4596bb054794bfd9758a995530f11c39495f14cc13325ac363/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3936393237333338393834313738343835322f3937313136313537373535323233363534342f626c75722e706e67)
Tweet
const fietu = require("fietu")
const tweet = await new fietu.Tweet()
.setAvatar("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.png")
.setUsername("Alguien")
.setNickname("El Fietulais")
.setText("Holaaa")
.render() // renders the image
![img](https://camo.githubusercontent.com/ff9ca766f8c6f02d95a7423668d0cd427a0b2a40bb41bbd70593658f5c64c765/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3937303934383632373339303431303832322f3937313432393734333337333230353630342f66696c652e6a7067)
const fietu = require("fietu")
const love = await new fietu.Love()
.setAvatarOne("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.png")
.setAvatarTwo("https://cdn.discordapp.com/avatars/736691726089060372/997623d873d2070c350c17ac8ae2ff89.png")
.setEmoji("https://cdn.discordapp.com/emojis/970071879102644304.png")
.setBackground("https://cdn.discordapp.com/attachments/970948627390410822/971441960416051261/unknown.png")
.render() // renders the image
![img](https://camo.githubusercontent.com/96f3d7b1c0f8d406d34c1129f1e382dc8133f8555ae7431b16e88bbf1377a59f/68747470733a2f2f6d656469612e646973636f72646170702e6e65742f6174746163686d656e74732f3937303934383632373339303431303832322f3937313434333539303537343234383036362f66696c652e6a70673f77696474683d373230266865696768743d323235)