[messages] [Technical Support & Bugs] BUG: wrong map colours

Joel Uckelman uckelman at nomic.net
Sun Feb 24 11:10:24 MST 2013


Thus spake Joel Uckelman:
> Thus spake "dott.Piergiorgio":
> > Some modules display the map with wrong colours (example: Malta.vmod),
> > that is, don't show the green component (and giving a purple ugliness on
> > the screen...) and I'm sure that is in the handling of the .jpg image
> > format; I have looked "under the hood" and the extracted map in .jpg
> > shows proper colours in image viewers.
> 
> You've most likely hit a JPEG loading bug in Java. I've come across
> several of these already. I'll see if I can find a workaround.
>

It looks like Java ImageIO is incorrectly loading YCbCr pixel data as
RGB. I'm now looking for a way to detect this when it happens.

-- 
J.


More information about the messages mailing list