EBTRFIO's edit command

A comprehensive guide to EBTRFIO's edit command

Input Types

[notation]

Accepts ranges or multiple specific frames

Possible Inputs:
[int-int]

Ranges, right-hand limit to left-hand limit

[int, int]

A normal integer (except negative values)

[bool]

Boolean, Only accepts 2 values

Possible Inputs:
true

Self-explanatory, if you want something to turn on

false

Self-explanatory, if you want to disable something

[float]

An integer with decimal values

Sample Input:
0.9

0.9 is considered as float since it has decimal point

[url]

A URL directs to an image, accepts only imagebb and imgur

Possible Inputs:
https://ibb.co/<id>
https://imgur.com/a/<id>

Full url of the image

ibb:<id>
imgur:<id>

Shorthand version of URL, Recommended to avoid mentioning a link that causes spams

[fltr]

Takes arguments and apply it to the image to append

All filters/arguments are allowed, theres append specific flags that works only here.

--append-type [atype]

Possible Inputs: stick, overlay, default

--url [url]

See [url] on input types

--size [width:int] --size [height:int]

The ratio is automatically adjusted, provide at least one value

--rotate [angle:int]

Rotate the image in specific angle

--rotate flop

Flop the image

--position [gravity:gvty,x:(+/-)int,y:(+/-)int]

See the [gvty] input type, This option position the image in the coordinates provided, also accepts negative coordinates

--swap

Append the image on top, instead of being below by default

[id]

A unique id assigned to a specific job/request

Possible Inputs:
kitan_<uid>

Found on the comment/reply of the BOT

[atype]

Append type used to specify what's going to happen in the image you want to append

Possible Inputs:
stick

The image is going to be placed beside the original image

overlay

The image is going to be overlayed

default

default behavour of it, it is going to be placed below on the original image

[gvty]

Change the Gravity Hint of the image

Possible Inputs:
northwest, north, northeast, west, center, east, southwest, south, southeast

Command Types

  • !dl Download command
  • !range Range-based command (not yet available)
  • !req [id] Request command using unique random ID, to be posted on page when moderation accepted the request.

Required Arguments

-s | --season Season Number

Specifies the season.

Possible Inputs:
[int]

Only takes integer as input, supports zero-padding (e.g 07)

-e | --episode Episode Number

Specifies the episode.

Possible Inputs:
[int]

Only takes integer as input, supports zero-padding (e.g 07)

-f | --frame Frame Number

Specifies the frame number.

Possible Inputs:
[int] ([notation] for !range only)

Takes integer on !dl and notations on !range

Possible Arguments (!req)

-n | --name Name of your Submission

Defaults to "Anon"

-cp | --caption Caption of your Post

Captions your submissions.

Possible Arguments (!dl)

-t | --top-text Top Text

Add text to the top of the image. (Supports emoji)

Possible Inputs:
[str]

Supports text and emoji (supports limited special formatting)

  • {n} : new-line character
  • {q} : quotation character
  • %bg:#FFFFFF% : specify color of background in hex
  • %textcolor:#FFFFFF% : specify color of text in hex
  • %font:font% : available fonts (ace, upr, fts, default)

--crop Image Cropping

Crop the image using different methods.

Possible Inputs:
[x1:int,x2:int,y1:int,y2:int,(cw:int)]

Coordinate-based Cropping

  • x1: Starting position on x-axis
  • x2: Ending position on x-axis
  • y1: Starting position on y-axis
  • y2: Ending position on y-axis
  • cw: Optional feather edge cropping value
[color:#FFFFFF,tolerance:int]

Color-based Cropping

  • color: Hex color value to crop around
  • tolerance: Adjust color matching accuracy

--grid Grid Creation

Create a grid layout with coordinates.

Possible Inputs:
[blocks:int]

Number of blocks in the grid

--mirror Mirror Effect

Apply a mirror effect with specified offset.

Possible Inputs:
[offset:int]

Pixel offset for mirror effect

--warp Image Warping

Apply a warping effect to the image.

Possible Inputs:
[intensity:(-)float]

Warping intensity (decimal value), accepts negative value

-st | --sub-text Subtitle Text

Adds Text to an image.

Possible Inputs:
[str]

Supports text formatting with special entities

  • {n} : new-line character
  • {q} : quotation character
  • %bg:#FFFFFF% : specify color of background in hex
  • %textsize:int% : size of text
  • %textcolor:#FFFFFF% : specify color of text in hex
  • %annotate:(+/-)x,(+/-)y% : annotate position of text with default south gravity hint
  • %gravity:gvty% : see [gvty] for more
  • %font:font% : available fonts (tdm, upr, fts, default)
  • %strokewidth:float% : width of text stroke
  • %strokecolor:#FFFFFF% : color of text stroke (Supports RGBA hex, #RRGGBBAA)

--blur Image Blur

Apply a blur effect to the image.

Possible Inputs:
[radius:float,sigma:float]

Blur intensity (decimal value)

--rblur Radial Blur

Apply a radial blur effect.

Possible Inputs:
[radius:int]

Radius of the radial blur

--palette Color Palette

Generate a color palette from the image.

Possible Inputs:
[colors:int]

Number of colors in the palette

--squish Squishes an Image

Squishes images to make it looks like deflated

Possible Inputs:
[percent:int]

Percentage of the squishiness

--append Append an Image

It appends the image requested.

Possible Inputs:
[filter:fltr]

See [fltr] input type, for more info.

--negative Negate Colors

Negates all the color of an image.

--3dbox 3D Image Cube

Generates Animated 3D cube. (Note: This is applied on post-processing of the image, means that the result of the filtered image is going to be the ones that is gonna be converted)

Possible Inputs:
[bgcol:#FFFFFF,delay:int] (default: 10)

A variable that changes speed of the gif.

-h | --help Show Help

Shows the url that redirects to this Manual. When present, ignores all the arguments.

-up | --upload Upload image

Upload the image to the internet, to be downloadable image

--rembg Remove background

Removes the background of the image, main subjects are remained

-u | --upscale Upscale Image

Upscale the image by 2x to reduce noise and to widen the image.

--heart Heart Locket Gif

Creates a heart locket gif

Possible Inputs:
[str]

Text or Caption for the gif

-q | --quiet Quiet Mode

Supress any message

Example Command


!dl -e 11 -f 3572 --crop [x1:560,x2:1025,y1:0,y2:1080] --squish [percent:75] -st "Wide kita%font:tdm%%textsize:26%%annotate:+0,+20%" --blur [radius:1,sigma:1] -up

Note: All filters are applied based on their order.

  • --crop [x1:560,x2:1025,y1:0,y2:1080] : crops the dimension
  • --squish [percent:75] : squish the image by 75 percent
  • -st "Wide kita%font:tdm%%textsize:26%%annotate:+0,+20%" : Text of "Wide kita" that is annotated by 20 on y-axis, and applied with the font TDM
  • --blur [radius:1,sigma:1] : blur the whole image with the radius of 1 and sigma of 1.
  • -up : upload the image to imagebb to be downloadable