allows alot of new things. dithering, contrast, saturation, even imbuing the image with more of a certain color. This takes either the result of the image completion from the text-to-image plugin or a canvas.
example page: https://perchance.org/alloimgexample
various things to improve such as allowing multiple tasks flawlessly, and figuring out why the canvas being in the iframe prevents it from changing. future updates will come :)
example is of plugin here: https://perchance.org/alloimg
my learnings from this for pluginmakers: i decided to make my own stuff that needs to run as coherent constant code in to a subobject of window. I will update my other plugins that add something to window to check if they have started yet to a safe place within my base object. Basically none of my own plugins will sprawl globally and will all be accessible under window.allo. Also I figured out to load an external script thru the return of the html text at the bottom of the output, which may be handy.
i never ever split something().thing().thing() in to 3 separate lines like in the prettified version lol
I never either lmaooo, there is an option there to increase the width (
--print-width
) so it wouldn’t be added into a new line.