Posted September 08, 2022 by Yossaya
---------------------------------------------------------------
The filter implementations used in this version have been included to work with this plugin. The libraries used are the original PIXI.filters and the more advanced PIXIJS filters. The notation for the filters is held fully optional and doesn't have a special place in the queue of parameters. Also it is possible to apply more than one filter to the events' image, so don't be scared to combine several with each other.
In the following sections I explain the implementation of each filter yet included:
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff black_and_white>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff brightness:0.7>. Note that there is no space character (" ") in the filter notation (brightness:0.7), which is crucial since it's counted as one parameter.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff browni>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff color_tone:0.8;0.2;0xbababa;0x222222>. Note that the different parameters got separated by a semicolon (";") and that there are no empty spaces in the filter notation ( color_tone:0.8;0.2;0xbababa;0x222222 ), which is crucial to be seen as only one parameter.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff contrast:0.7>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff desaturate>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff greyscale:0.7>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff hue:90>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff kodachrome>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff lsd>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff negative>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff night:0.8>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff polaroid>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff predator:5>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff saturate:0.9>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff sepia>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff technicolor>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff to_bgr>.
---------------------------------------------------------------
---------------------------------------------------------------
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff vintage>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff blur:1>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff glow>.
The full notation in use here: <ADJ: 0 0 0 1 0xffffff glow:10;4;0;0xff0000>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff drop-shadow>.
The full notation in use here: <ADJ: 0 0 0 1 0xffffff drop_shadow:90;10;0xff0000;0.3;1.0>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff bloom>.
The full notation in use here: <ADJ: 0 0 0 1 0xffffff bloom:5>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff bevel>.
The full notation in use here: <ADJ: 0 0 0 1 0xffffff bevel:90;5;0x00FF00;0.9;0x0000FF;0.9>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff outline>.
The full notation in use here: <ADJ: 0 0 0 1 0xffffff outline:1;0xff0000>.
---------------------------------------------------------------
---------------------------------------------------------------
Filter parameters:
Use this syntax to apply the filter:
The full notation in use here: <ADJ: 0 0 0 1 0xffffff pixelate>.
The full notation in use here: <ADJ: 0 0 0 1 0xffffff pixelate:20>.
---------------------------------------------------------------
In the following examples I want to test some combinations of filters. Theoretically all of the filters above can be combined, but that maybe won’t result in a good result in the end.
---------------------------------------------------------------
---------------------------------------------------------------
The full notation in use here: <ADJ: 0 0 0 1 0xffffff greyscale:0.7 outline:2;0xff0000>.
---------------------------------------------------------------
---------------------------------------------------------------
The full notation in use here: <ADJ: 0 0 0 1 0xffffff predator:5 to_bgr>.
Feel free to test other combinations as well and have fun with this update to the ADJ-Plugin.