I migrated an app1 to use jfreeSane instead of an old library that was in place. There is another app2 in the ecosystem that reads images generated by app1. When app2 tries to filter out white pages that result of a scan it behaves just the opposite as it used to do.
The way white and black are codified seems to be the thing.
I see there is something called PhotometricInterpretation,
in the image information. I understand jfreeSane generates images where whiteIsZero is true. Is there a way to indicate jfreeSane to set blackIsZero?
Hope this makes sense.