...This time could possibly be reduced with further optimization. Images are processed in four phases that are executed on a pixel- per- pixel basis. Each phase takes a input image and renders it to a output image. This makes it easy to port the algorithm (back) to GLSL fragment shaders. As bloc97 described in his pseudo-preprint, the Anime4K algorithm is actually quite simple.