Projects / libbsb


libbsb is a C library for reading and writing BSB format image files. Typically used for nautical charts, BSB image files use the .KAP extension and store cartographic information in addition to a run-length encoded raster image. The conversion tools included are bsb2tif, tif2bsb, bsb2png, bsb2ppm, and ppm2bsb.

Operating Systems

Recent releases

  •  22 Dec 2004 14:40

    Release Notes: An exploitable buffer overflow which was possible when reading a carefully crafted .KAP file was fixed. tif2bsb's TIFF color table reading was fixed, as it produced incorrect image data. .KAP reading was made more robust on corrupt .KAP files.

    •  05 Nov 2004 14:28

      Release Notes: This release adds support for older NOS/GEO file formats (.NOS and .NO1 extensions), fixes tif2bsb (on some images, incorrect color handling created blank .KAP files), and improves compilation portability.

      •  10 Jul 2004 11:30

        Release Notes: Fixed tif2bsb conversion errors for 4-bits-per-sample TIFF files, added a PNG file test, and fixed some portability issues.

        •  17 May 2004 18:35

          Release Notes: This release fixes bsb2tif conversion errors which caused "Short Row" to be reported and output to be corrupted (also with bsb2ppm), fixes a bsb2tif infinite loop bug, and adds a bsb2png utility.

          •  09 Mar 2004 11:06

            No changes have been submitted for this release.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.