Startsidan  ▸  Texter  ▸  Teknikblogg

Anders Hesselbom

Programmerare, skeptiker, sekulärhumanist, antirasist.
Författare till bok om C64 och senbliven lantis.
Röstar pirat.

Destroying pictures using the command line

2010-12-24

PhotoKiller.exe is a simple command line application that loads an image, manipulates it, and saves it under a new name. By manipulating the levels, and taking some other measures, the image will look like an old color photo.

I have a picture called “image.jpg” in a folder where I also have PhotoKiller.exe. This is the original photo:

From the command line, start PhotoKiller.exe and pass the filename of the picture as an argument to PhotoKiller.exe.

After a few seconds, a new png file is created, called “image.jpg.destroyed.png”. This is the result :

Download PhotoKiller.exe from here. And here are some more examples. The original image is on the left.

Categories: Geeky

Leave a Reply

Your email address will not be published. Required fields are marked *



En kopp kaffe!

Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll!

Bjud på en kopp kaffe!

Om...

Kontaktuppgifter, med mera, finns här.

Följ mig

Twitter Instagram
GitHub RSS

Public Service

Folkbildning om public service.

Hem   |   linktr.ee/hesselbom   |   winsoft.se   |   80tal.se   |   Filmtips