de | en
back
Notizen zur Fotografie

Black and white and red: eerie enhancements

Guest post written by ↬ Jonathan Frech.

Abstract.
Eerie image filters at Halloween: interactively in your browser!

An image is far more than a heap of bytes. However, most images are convertable to one. One advantage of such a representation ist the ability of algorithmic manipulation. An eerie disadvante is the all too common misinterpretation of a heap of bytes as itself an image.

It being Halloween, the following enables you yourself to eerily enhance your images:

Your Browser appears to be incapable of displaying cavases.
  1. Choose source image: 
  2. Possibly reload source image: 
  3. Save warped version: Please choose an image, click anywhere on the above canvas and wait for it to be warped.

Your tricks or treat!

Sometimes the question arises, how organic complexity can be algorithmically captured. Oddly enough are often simplistic rules all it takes.
After clicking the initially decolorized image, every pixel row below the clicked position will successively be defined by uniformly choosing one of the three (or two at the edges, one if your image is very narrow) pixels above it (⇖, ⇑, ⇗); sometimes, however, a blood-red pixel is chosen instead. This process leads to a smeared effect; only using light, dark and red as a color scheme evokes an eerie ensemble.
Source code in its unobfuscated entirety is listed below.

Others' blood

Using the above implemented algorithm, one may create images as the following (source images © Martin Frech, not shown):

The Kraken might starve!

Should you choose to select an image you do plainly that. You choose an image on your machine and execute ECMA-Script on your machine to save the resulting heap of bytes on your machine. Even though your browser might talk about “downloading” anything, I can assure you to never see your image. No pixel at all will be transferred over the network.

Coarse code

(show source code / hide it again)

    
    

Citation recommendation:
Frech, Jonathan: Black and white and red: eerie enhancements. In: Notizen zur Fotografie, 2020-10-31. Online: https://nzf.medienfrech.de/NzF/2020-10-31/halloween_en.html [date fetched]