objfw-embed(1)

objfw-embed1

Create source code to embed a file into a program

Usage

objfw-embed source_file filename output

Overview

objfw-embed is a program which creates source code to embed a file into a program, which can then be accessed using the embedded: IRI scheme in ObjFW.

Examples

Create the source file logo.png.m for the file assets/logo.png, which will be registered under the path logo.png so that it can be accessed under the IRI embedded:logo.png:

objfw-embed assets/logo.png logo.png logo.png.m

From libobjfw1-dev 1.3-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.