---
name: "objfw-embed"
section: "1"
platform: "linux"
package: "libobjfw1-dev"
version: "1.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/objfw-embed"
---

# objfw-embed(1)

create source code to embed a file into a program

## NAME

objfw-embed - create source code to embed a file into a program

## SYNOPSIS

**objfw-embed** *source\_file* *filename* *output*

## DESCRIPTION

**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
