"Parchment" Image Filter
Hello! A few days ago, I though of a cool concept for an image filter that would make a really cool image effect. Here is what it looks like:


Top img: source, bottom: processed
This image effect is really simple.
Step 1) grayscale the image Step 2) Slightly blur it Step 3) Set each pixel's value to the range of the values of nearby pixels Step 4) pixelate the image; take the min value from your range Step 5) "decolor" the img(please tell me if you want more details on this step Step 6) tint it to be slightly brownish-red
Of course, it doesn't work well on all images...


But sometimes it looks amazing
(sorry for the tooltip on the image)

If you want to see the source code, please tell me in the comments.
I think that this effect will make a game have a very unique look(well, not anymore now that I revelead how it works)
Note: this was NOT done in photoshop/gimp. I made a custom processing 3 script to achieve this effect.