libnsbmp decodes BMPs in the wrong colours. This is highly likely to be an endian issue and all other formats decode correctly within NetSurf.
Even decode_bmp generates a PPM with the wrong colours, so the problem appears to be internal to libnsbmp. eg. bmpsuite image g01bg.bmp shows up as yellow and magenta (it should be blue and green - at least that's the colours I get everywhere else!) I notice the library has macros for reading values to avoid endian issues but I don't see what else can be causing this? Is it actually showing up with the correct colours on LE hardware? Chris
