re raw gif you can use pbm s rawtopgm to convert three raw r g b files to pgm format then you can use pgm toppm to convert the pgm files to a composite ppm file and feed this to cjpeg for compression slow and circuitous but it will work rick
