Source for a lens effect - (I suspect this is a rip of lenssrc.zip/lens.lzh...) The TGA loading routines are exactly the same aside from variable names.
Very simple bitmap converter. This converts plain 256 colour GIFs to the LBM format used with Themie Gouthas' XLIB. It also saves the palette separately in a .PAL file.