Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

crazygmr101/AnsuraBot

Repository files navigation

Status

Click here to invite me.
Discord Bots Discord Bots Discord Bots Discord Bots

Image Commands - %image

Usage - %image filter_list

Valid Filters

  • rotate [n] - rotates an image n degrees counter-clockwise.
  • autocontrast - stretches the image over the widest range possible
  • invert - inverts the image's colors
  • grayscale
  • sepia
  • posterize [n] - keeps n bits of the image's colors
  • solarize [n] - inverts values with a luminance above n
    • n defaults to 128 or half-brightness
  • flip - flips an image top-to-bottom
  • mirror - flips an image right-to-left
  • blur [n] - applies a gaussian blur with a radius of n pixels
    • n defaults to 2
  • scale [n] - scales an image, with bicubic filtering1
  • pscale [n] - scales an image, with nearest pixel filtering1
  • scalexy [w] [h] - scales an image by relative width and height1 with bicubic pixel filtering
  • pscalexy [w] [h] - scales an image by relative width and height1 with nearest pixel filtering
  • potography - applies %image pscalexy 0.05 0.25, pscalexy 20 4, posterize 2, sepia, rotate 25
  • matrix [w] [h] - scales the image to a matrix of w by h, and scales it back to the image size

1 - n, x, and y are all relative. A value of 1 means no scaling is done (100%)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages