#937: cairo driver: d.legend colors all broken ----------------------+----------------------------------------------------- Reporter: hamish | Owner: [email protected] Type: defect | Status: closed Priority: major | Milestone: 7.0.0 Component: Display | Version: svn-trunk Resolution: fixed | Keywords: cairo, d.legend Platform: Linux | Cpu: x86-64 ----------------------+----------------------------------------------------- Comment (by glynn):
Replying to [comment:5 hamish]: > just out of curiosity, how do the .bmp, .ppm, and SGi's .rgb differ, in that IIUC they are all just raw binary dumps of width height r1g1b1 r2g2b2 r3g3b3 ... PPM has a variable length header (where the header length is determined by parsing), followed by 24-bpp RGB data. BMP has a variable-length header (where the length is stored in the header) followed by data in a variety of possible formats. RGB has a fixed-size (512 byte) header followed by data in a variety of possible formats. PPM was ruled out because it doesn't support 32-bpp data. BMP was the next candidate due to having the documentation immediately to hand. Any format which supports raw 32-bpp RGBA data (with suitable alignment) would work. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/937#comment:6> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
