Use an existing color image to create a negative copy, by launching the program with the appropriate command line arguments. This is a small part of the 'Seam Carving' Project on Hyperskill.
How to compile on terminal:
kotlinc negative.kt -include-runtime -d negative.jar
How to launch:
java -jar negative.jar -in Photo.png -out Negative.png