view @ 22:d98f2c485ca3 default tip @

misc: update copyright years
author David Demelier <>
date Wed, 01 Feb 2023 12:28:43 +0100
parents 6934cc306ac3
line wrap: on
line source


Simple tool to convert any file into a C or C++ array for direct inclusion into
the source code.

Note: C23 introduced the `#embed` feature which can be used rather than this
      utility unless your toolchain doesn't support it.

Quick usage

Example: convert a image for embedding.

	bcc -sc mario.png mario > mario.h

Now, you can include mario.h file and use `mario` C array, `sizeof (mario)` is
also possible.


See bcc(1) manual page.


David Demelier <>