JonathanGiles / jonathangiles.net-comments

0 stars 0 forks source link

posts/2010/inverting-the-colour-of-images/index #131

Open JonathanGiles opened 4 years ago

JonathanGiles commented 4 years ago

Inverting the colour of images

https://jonathangiles.net/posts/2010/inverting-the-colour-of-images/

JonathanGiles commented 4 years ago

Auto-imported comment, original author: anon Comment posted on: January 21, 2010

What's wrong with the good old commandline and image magick? http://www.imagemagick.org/Usage/color/

for f in dir; do convert -negate $f $f; done

Unix, it works baby! ;-)

JonathanGiles commented 4 years ago

Auto-imported comment, original author: Jonathan Comment posted on: January 22, 2010

Nothing is wrong with that approach, apart from it being unix-specific :-) Thanks for the alternative...

JonathanGiles commented 4 years ago

Auto-imported comment, original author: David Comment posted on: October 10, 2010

Thank you, this saved me alot of time. Thought I was gonna have to manually invert each pixel in a loop.