0tom123546789 0tom123546789 - 4 months ago 16
Java Question

How to assign new color values to ranges of color

this program was solved. thanks for the help

Answer

There must be an exception somewhere, unfortunately you catch exception and do nothing.

Replace

catch (Exception e) {}

with

catch (Exception e) {
    e.printStackTrace();
}

That will help you find what's happening. My guess is you will get a FileNotFoundException because Grayscale.jpg is probably not in your working directory.