Java and image curves?

Hi,

I’m currently using Jimi to open up a large JPEG/GIF/PNG file, and resize+save it to a smaller file. All this works fine.

But now I have to add a new feature that changes the curves (if you know photoshop you know what this is) for the RGB layers of the image.
Is there a way to do this in Java, generally, or more specficially in Jimi … or other libraries?

I need this because I need to view these images on a TV-Set, through IPTV set-top-box. The RGB colors get converted into YCrCb, so all the reds and blues are really distorted. I have made a curve profile in Gimp that I can simply add to the image and resave it so it displays right on the tv, but I want to do that part in Java dynamically.

Any suggestions are appreciated :slight_smile:

Thank you!