Advertisement
3nd0fw0r1d

Documentation

Jan 18th, 2021 (edited)
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.33 KB | None | 0 0
  1. All commands start with .img, followed by the chosen arguments
  2. the command structure requires the use of [ and ] wrapping the relevant args to an image edit/command
  3. i/e: '.img resize [ overlaying [ shake :googleturtle: jpeg3 [ hcjHH 2 ] ] 80 ]'
  4. or: '.img resize [ :emoji: 80 ]'
  5. if a command/edit only requires 1 input, it doesn't need [] wrapping
  6. if a command/edit requires a string input and has any spaces, it will need [ wrapping ]
  7. MAKE SURE THERE ARE SPACES BETWEEN ALL ELEMENTS
  8. in any place, where a command/edit has an image input, it can have a nested command/edit placed
  9. image inputs can also be discord emoji, unicode emoji, and urls
  10. 'duration' in the case of gifs tends to be in loops per default gif duration
  11.  
  12. recently used commands can be edited and have the output changed to reflect the changes in the command
  13.  
  14. >intense [ [ string ] int(intensity level) ]
  15. outputs a gif of the input string, shaking as strongly as the input int
  16.  
  17. >speed [ [ string ] int ]
  18. outputs a gif of the input string, with each space-separated 'word' flashing by at speed of int
  19.  
  20. >mocking [ [ string ] ]
  21. outputs an image of mocking spongebob with subtitles of string
  22.  
  23. >space [ image(gif/png) ]
  24. outputs the chosen image flying through space
  25.  
  26. >shoot [ image(gif/png) ]
  27. meme of pepe with a gun shooting bullets of the image
  28.  
  29. >italics [ image(gif/png) ]
  30. outputs a slanted image of the input
  31.  
  32. >jpeg [ image(gif/png) ]
  33. outputs a fried image of the input
  34.  
  35. >man [ image(gif/png) ]
  36. outputs a meme of an emoji-constituted man jerking off, with the head replaced by input image
  37.  
  38. >jpeg2 [ image(gif/png) int(loops: 0-inf) ]
  39. outputs a deep-fried image of the input intensity
  40.  
  41. >jpeg3 [ image(gif/png) int(loops: 0-inf) ]
  42. outputs a blurry/jpegified image of input intensity
  43.  
  44. >weee [ image(png) ]
  45. outputs a looping/spinning/panning/tiling image of the input
  46.  
  47. >shake [ image(gif/png) ]
  48. outputs a shaking/quaking animation of the input
  49.  
  50. >shake2 [ image(png) float(intensity) ]
  51. shake, but with no rotation
  52.  
  53. >nuke [ image(gif/png) ]
  54. outputs a nuke animation of the input image
  55.  
  56. >moreshake [ image(gif/png) ]
  57. same as shake, but stronger
  58.  
  59. >hold [ image(gif/png) ]
  60. outputs a meme of the man who can't hold all his lemons, but with the lemons replaced by the input image
  61.  
  62. >hold2 [ image(gif/png) ]
  63. same as above, but gifs get a random playback offset
  64.  
  65. >hold3 [ image(png) image(png) image(png) ]
  66. same as hold, but can accept an arbitrary number of image inputs, does a 'fair' scramble on their placement
  67.  
  68. >overlay [ image(png) image/string(png) ]
  69. outputs the first image, overlayed by a roughly centered second input image/string corresponding to image
  70. valid strings are mask, maskF, hazmat, hazmatF?
  71.  
  72. >overlay2 [ image(png) image/string(png) x(pixels) y(pixels) rot(degrees?) scale(1 being normal) ]
  73. same as above, but with extra args for position, rotation, and scale adjustment
  74.  
  75. >4head [ image(gif/png) int ]
  76. outputs a warped image, based on the input int. Low values inflate, larger/negative ones go weird and warpy.
  77.  
  78. >wormhole [ image(gif/png) ]
  79. based on 4head, but each frame has a different int value
  80.  
  81. >peek [ image(gif/png) ]
  82. outputs the input image 'peeking' up
  83.  
  84. >peek2 [ image(gif/png) float(0-1) ]
  85. sameish as above, but with an input of 1, makes a full peek, while 0.5 is half peek
  86.  
  87. >rotate [ image(gif/png) int(degrees) ]
  88. self-explanatory, rotates the image by input degrees
  89.  
  90. >flip [ image(gif/png) ]
  91. left-to-right mirror of image
  92.  
  93. >hyper [ image(gif/png) int(delay) ]
  94. outputs an image that flips left-to-right repeatedly with input delay between flips
  95.  
  96. >info [ image(gif/png) ]
  97. outputs a string of various values describing the image, like size and metadata
  98.  
  99. >8ball
  100. theoretically outputs a string of randomized magic 8ball outputs, but probably broken
  101.  
  102. >snap [ image(png) ]
  103. thanos snaps the image
  104.  
  105. >snap2 [ image(gif/png) ]
  106. thanos snaps the image, now with gif support
  107.  
  108. >snap3 [ image(gif/png) [iterations default of 2, minimum 1] [modifier default of 60] [modifier default of 25] ]
  109. same as above, but configurable. If using defaults, it outputs similar as snap2
  110.  
  111. >snap4 [ image(gif/png) int int int ]
  112. can't remember what makes this different to the above
  113.  
  114. >3d [ image(gif/png) yaw roll pitch ]
  115. outputs a 3d view of the image on a flat plane. The plane rotates depending on the inputs, with 0 being no rotation.
  116.  
  117. >3dlit [ image(gif/png) yaw roll pitch int(red 0-255) int(blue 0-255) int(green 0-255) ]
  118. same as above, but with an RGB-colored spotlight
  119.  
  120. >wide [ image(gif/png) ]
  121. outputs the input image, but wider
  122.  
  123. >resize [ image(gif/png) int(pixels) ]
  124. outputs the input image, but rescaled so the largest dimension width/height is equal to the input pixels
  125.  
  126. >wobble [ image(gif/png) int(delay) ]
  127. outputs a wobbling image of the input, wobbling to the input int frequency, with lower being faster(for png), but otherwise being a multiple of the gif duration, with 1 being 1 loop and 2 being 2 times in 1 loop
  128.  
  129. >crop [ image(gif/png) int(0-1) ]
  130. crops off a portion of the image from the edges, with 1 being the whole image and 0 being none
  131.  
  132. >shrink [ image(gif/png) int(velocity) int(z offset) ]
  133. outputs an image in 3d space, walking at velocity in z, starting at an offset. negative velocity is toward the camera, positive offset is farther from the camera, with 0 being camera position
  134.  
  135. >think [ image(gif/png) x(pixels) y(pixels) float(scale) ]
  136. overlays a thinking finger with offset x and y, scale of input, overtop the input image
  137.  
  138. >alpha [ image(png) float(0-1) ]
  139. outputs the input image, but with the alpha of each pixel multiplied by the input, with 1 being the same and 0 being complete transparency
  140.  
  141. >illegal [ image(png) int(duration(probably want 30 or 40ish)) ]
  142. outputs the input image, but with a flashing colored spotlight to simulate police lights, with the flashing modified by the duration
  143.  
  144. >append [ image(gif) image(gif) ]
  145. outputs the second gif added onto the end of the first
  146.  
  147. >atmograph [ int(seconds) ]
  148. outputs a graph of the atmospheric data from my room, from now to input seconds ago
  149.  
  150. >areyousure [ image(png) ]
  151. outputs a meme of john cena green-screened into the input image
  152.  
  153. >justdoit [ image(png) ]
  154. same as above, but with the justdoit meme
  155.  
  156. >couch [ image(png) ]
  157. naked man exits couch as above
  158.  
  159. >manydoors [ image(png) ]
  160. there are many doors, ed-boy
  161.  
  162. >mask [ image(gif/png) int(red 0-255) int(green 0-255) int(blue 0-255) int(hue 0-360) int(Hue 0-100) int(Sat 0-100) int(Vol 0-100) ]
  163. takes the input pixels of the image, and for those that are within a percent hue saturation and value of the input RGB, changes them to match the input Hue
  164.  
  165. >mask2 [ image(gif/png) int(red 0-255) int(green 0-255) int(blue 0-255) int(duration) int(Hue 0-100) int(Sat 0-100) int(Vol 0-100) ]
  166. same as above, but a rainbowy gif modified by duration
  167.  
  168. >mask3 [ image(gif/png) image(gif/png) int(green 0-255) int(blue 0-255) int(Hue 0-100) int(Sat 0-100) int(Vol 0-100) ]
  169. uses similar logic as the above, but uses it to exchange the pixels of two images
  170.  
  171. >mask4 [ image(gif/png) int(duration) ]
  172. full-image hue-offset based rainbow effect based on duration
  173.  
  174. >overlaying [ image(gif/png) image(gif/png) ]
  175. overlaying one over the other, with a bit of resizing logic so the background image meets the edges
  176.  
  177. >lcd [ image(gif/png) ]
  178. outputs the input image, with each pixel turned into a 6x6 rgb lcd pixel
  179.  
  180. >lcd2 [ image(gif/png) ]
  181. same as above, but with a dark opaque background
  182.  
  183. >lcd3 [ image(gif/png) int(noise 0-?) ]
  184. same as lcd2, but outputs a gif image with simulated white noise in the image, 0 as the input makes it identical to lcd2
  185.  
  186. >crt4 [ image(gif/png) width(pixels) height(pixels) int(resolution 1-?, 3 default) int(noise 0-?) ]
  187. Turns the input image into a crt displaying the input. 4th iteration, and most true to life.
  188.  
  189. >crt [ image(gif/png) width(pixels) height(pixels) ]
  190. initial implementation, outputs a png of a crt displaying the input
  191.  
  192. >crt2 [ image(gif/png) width(pixels) height(pixels) int(noise 0-?)
  193. outputs a gif version, with animated image noise
  194.  
  195. >ntsc [ image(gif/png) int(pixel split) ]
  196. outputs the input in NTSC colorspace with the colors out of horizontal alignment
  197.  
  198. >pad [ image(gif/png) int(red 0-255) int(green 0-255) int(blue 0-255) int(alpha 0-255) float(padding, 0 being none) ]
  199. outputs the input image on a square background of input RGBA, with the input amount of extra width/height proportional.
  200.  
  201. >stereo [ image(png) float(default 5, adjusts perceived depth) ]
  202. outputs a machine-learning based cross-eye stereogram of the input image
  203.  
  204. >stereo2 [ image(png) ]
  205. outputs the depthmap output of the aforementioned machine-learning as an image, with hue? representing depth
  206.  
  207. >stereo3 [ image(png) image(png) ]
  208. generates a stereogram of the first image, using the second image as a depth map
  209.  
  210. >emboss [ image(gif/png) ]
  211. outputs the image after an emboss filter
  212.  
  213. >aggressive [ image(gif/png) ]
  214. a combined shaking/rainbow effect that I made for some reason
  215.  
  216. >border [ image(gif/png) float(pixels, roughly) ]
  217. gives the input image a black border of width input pixels
  218.  
  219. >border2 [ image(gif/png) float(width) int(red 0-255) int(blue 0-255) int(green 0-255) int(alpha 0-255) ]
  220. same as above, with input RGBA for colors
  221.  
  222. >enchant [ image(png) ]
  223. gives the input image a minecraft enchantment glint overlay
  224.  
  225. >upscale [ image(gif/png) ]
  226. pixel perfect 2x upscale
  227.  
  228. >downscale [ image(gif/png) ]
  229. nearest filter 0.5x downscale
  230.  
  231. .get_palettes returns a list of available entries for the following commands
  232.  
  233. >palette [ image(gif/png) string(palette) ]
  234. outputs the input image with floyd-steinberg dithering in the input palette
  235.  
  236. >palette2 [ image(gif/png) string(palette) ]
  237. same as above, but a special adobe dithering algorithm instead
  238.  
  239. >palette3 [ image(gif/png) string(palette) ]
  240. same as above, but simple ordered dithering
  241.  
  242. >stitchw [ image(png) ... ]
  243. stitches the input images together horizontally
  244.  
  245. >stitchh [ image(png) ... ]
  246. same as above, but vertically
  247.  
  248. >brightness [ image(gif/png) float(0-?) ]
  249. adjusts image brightness, with 1 being no change
  250.  
  251. >contrast [ image(gif/png) float(0-?) ]
  252. same as above, for contrast
  253.  
  254. >saturation [ image(gif/png) float(0-?) ]
  255. same as above, for saturation
  256.  
  257. >blur [ image(gif/png) float(0-?) ]
  258. gaussian blur of input intensity
  259.  
  260. >diffract [ image(gif/png) width(pixels) ]
  261. horizontally offsets the RGB channels from eachother, widening the image to do so
  262.  
  263. >glitch [ image(gif/png) int(iterations) float(chance, default .95) ]
  264. flips bits of the input image as a jpeg to make glitch art. iterations is how many bits are flipped, chance is for gifs and adjusts image stability, with closer to 1 being more stable
  265.  
  266. >gifify [ image(png) int(delay, multiples of 10 but 20 minimum) int(frames) ]
  267. turns the input image into a gif with input delay per number of input frames
  268.  
  269. >jitter [ image(gif/png) int(pixel height) ]
  270. randomly vertically offsets the image, with gifs being per-frame
  271.  
  272. >invert [ image(gif/png) ]
  273. inverts the image colors
  274.  
  275. >spin [ image(gif/png) int(frames for png, times for gif) ]
  276. spins the input image, outputting a gif. static images take input frames to go a full spin, input gifs spin input number of times per gif duration
  277.  
  278. >pumpkin [ image(gif/png) ]
  279. outputs a jackolantern with the input image carved into it
  280.  
  281. >pumpkin2 [ image(gif/png) ]
  282. same as above, but dark
  283.  
  284. >imagine [ string ]
  285. outputs the spongebob imagine meme, with the input text arcing across the rainbow ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement