JSPM

  • Created
  • Published
  • Downloads 50
  • Score
    100M100P100Q55571F
  • License ISC

Libreria beta

Package Exports

  • fietu
  • fietu/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fietu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

FIETU

Image generation library

Installation

npm install fietu
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

Examples

blur

const fietu = require("fietu")
const buffer = await fietu.Canvas.blur("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.webp?size=1024")

Preview

img

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

Preview

img

Love

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

Preview

img