Formatwerk
format migrate
Raster images: TIFF and GIF (all pages/frames, ICC/EXIF kept, 16-bit kept) via sharp/libvips; BMP, PCX, TGA, PNM, SGI, Sun Raster and XWD via ffmpeg in a separate process without shell or environment, with prlimit (1.5 GB, 6 s CPU) and a private temporary folder. After conversion both source and PNG are decoded again and the raw pixels are compared; the result says pixel_identical per page. CMYK/Lab images are refused (PNG cannot hold them losslessly). Text: decodes with the WHATWG decoder.
POST https://format.halowerk.com/v1/format-migrateInputs
| Field | Type | Required | Description |
|---|---|---|---|
| content_base64 | string | Yes | Source file as base64 (max. about 20 MB). |
| filename | string | No | |
| source_format | string | No | Needed for TGA (no magic bytes); otherwise detected. |
| source_encoding | string | No | For text migration: WHATWG label of the legacy encoding, e.g. windows-1252, iso-8859-15, ibm866, shift_jis. |
| line_endings | string | No | Line endings of migrated text. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"content_base64"
],
"properties": {
"content_base64": {
"type": "string",
"minLength": 4,
"maxLength": 28000000,
"description": "Source file as base64 (max. about 20 MB)."
},
"filename": {
"type": "string",
"maxLength": 300
},
"source_format": {
"type": "string",
"enum": [
"bmp",
"pcx",
"tga",
"pnm",
"sgi",
"sun",
"xwd"
],
"description": "Needed for TGA (no magic bytes); otherwise detected."
},
"source_encoding": {
"type": "string",
"maxLength": 40,
"description": "For text migration: WHATWG label of the legacy encoding, e.g. windows-1252, iso-8859-15, ibm866, shift_jis."
},
"line_endings": {
"type": "string",
"enum": [
"keep",
"lf",
"crlf"
],
"default": "keep",
"description": "Line endings of migrated text."
}
}
}Published input example
{
"content_base64": "Qk1GAAAAAAAAADYAAAAoAAAAAgAAAAIAAAABABgAAAAAABAAAAATCwAAEwsAAAAAAAAAAAAA/wAA////AAAAAP8A/wAAAA==",
"filename": "logo.bmp"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Formatwerk0.004 USDC
accounting csv unify
POSThttps://format.halowerk.com/v1/accounting-csv-unifyDATEV booking batch files (EXTF/DTVF, category 21) are read by their documented field positions: amount and S/H become a signed amount relative to the account, Belegdatum TTMM is resolved within the fiscal year from the header. Other export
- Formatwerk0.005 USDC
avv checklist
POSThttps://format.halowerk.com/v1/avv-checklistChecklist after Art. 28 GDPR (Regulation (EU) 2016/679 Art. 28 (GDPR), https://eur-lex.europa.eu/eli/reg/2016/679/oj, German and English text retrieved from the EU Publications Office 2026-11-01): Art. 28(3) sentence 1 (subject-matter, dura
- Formatwerk0.004 USDC
bagit package
POSThttps://format.halowerk.com/v1/bagit-packageCreate: files go to data/, manifest-<alg>.txt and tagmanifest-<alg>.txt are written for SHA-256 (default), SHA-512 or legacy SHA-1/MD5, bag-info.txt gets your metadata plus Bagging-Date, Bag-Size and Payload-Oxum; paths are checked (no abso