OpenFini

Docs / Features

File Formats

OpenFini's own format is .ofini, and it reads and writes a growing list of open and third-party formats with pure, bounds-checked engines written clean-room from public specifications. This page is the open, save and export matrix, plus guidance for files from other applications, whose formats are proprietary. Product names appear only to describe file-format compatibility.

Matrix#

FormatOpenSave or exportNotes
.ofiniyesyesNative ZIP of JSON and assets; old versions upgraded on open
SVGyes (Vector)yesImport ignores filters, masks, clip paths and patterns
PNG, JPEG, WebPyesexportOpen as an image document in Pixel
GIF, BMP, AVIFyesnoAnimated GIF: frames as layers, no timeline
TIFF .tif .tiffyesnoPages as layers; LZW, PackBits, Deflate; 1 to 16 bit reduced to 8; DPI and ICC ignored
PSD (version 1)yesyes (8-bit RGB)Layers, groups, masks, text content, composite
PSByesnoLarge-document variant of PSD
PDFyes (Layout, editable)exportSee below
Illustrator .ai (PDF compatible), EPS with PDFyesnoOpens through the PDF importer; OpenFini never runs PostScript
IDMLyesnoPages, shapes, text stories, swatches
Sketch .sketchbest effortnoDocumented ZIP and JSON
OpenRaster .orayesyesLayers, groups, blend modes; File ▸ Quick Export ▸ OpenRaster
Krita .kraflattened imagenoMerged image only
ICO, CURlargest imageno
Palettes .gpl .ase .acoyesyesFile ▸ Swatches
Fonts WOFF, TTCyesnoWOFF2 displays on screen but cannot embed in PDF
DOCX, ODT, RTFyes (Office)yesSee Office Studio
HTML, Markdown, plain textyes (Office or Code)yes
Text and code filesyes (Code)same fileSee Markdown and LaTeX
CSV, TSVyes (table in Layout, or text)export CSVTable ▸ Import Table

Files from other applications#

OpenFini does not read or write other products' proprietary formats unless an official public specification exists and permits it (Clean-Room Policy). When it detects such a file it explains what to do.

SourceWhat to do
Affinity (.afdesign, .afphoto, .afpub)Not readable. Export to PSD, PDF or SVG from the originating app. If a plain PNG or JPEG preview is stored as an ordinary image stream, OpenFini can open that preview
InDesign .inddNot readable. Export IDML or PDF
Figma .figProto Studio only, Labs: read-only, best-effort import (Settings ▸ Labs ▸ Figma File Import). Never saved. Elsewhere export PDF or SVG
XD .xdNot readable. Export PDF or SVG
Photoshop PSD and PSBOpen directly. Text layers become editable frames where the text could be read; smart objects import as their flattened preview; adjustment layers and layer effects are reported as not imported
Illustrator .aiOpens when it contains PDF data (the default); otherwise export PDF or SVG
Word 97-2003 .doc, Apple .pages, Google .gdocSave or download as .docx first
Spreadsheets and presentationsNot supported in Office yet; save a spreadsheet as CSV, or export slides as PDF and open the PDF in Layout

PDF import#

PDF opens as an editable Layout document (through pdf.js, loaded on demand, about 610 KiB gzip and not precached). The importer fills an import report: kept, flattened, dropped and note entries, shown by File ▸ Import Report… and readable by the assistant (get_import_report). Details: pdf-import.md.

Import report#

Every importer fills the same report. Fidelity statements include: TIFF DPI and ICC are ignored, GIF frames are layers without a timeline, Krita files open flattened, ICO opens the largest size only, and an EPS with a TIFF preview opens as a flattened low-resolution "preview only" document.

Robustness#

Readers validate sizes before allocating (a tiny file cannot request a huge buffer), skip unsafe ZIP paths, never expand XML entities, never execute code and report problems as warnings or clear errors. PSD canvases above 150 megapixels are refused by default.

Color#

Everything is sRGB, 8 bits per channel. CMYK, Lab and other modes convert with simple formulas and no ICC profile. PDF output is DeviceRGB.

Reference#

The engines and exact limits are described in file-compat.md; the research behind each verdict is in file-format-research.md.

See also#

Edit on GitHub → wiki/File-Formats.md