FOnline Engine
Current master GitHub
Documentation Docs/en/reference/image-format/formats.md

Image Source Formats

Generated reference. Do not edit directly. Update BuildTools/ImageFormatInterface.json, then run python BuildTools/docs_image_format.py --write.

Index Formats FOFRM Options Baking Runtime Validation Canonical JSON Guide
Stable ID Extension Availability Import contract Source
image-format.format.fofrm fofrm baker and default runtime FOFRM composes relative image references into one static image, animation, or complete direction sheet and is the preferred authored wrapper for multi-frame or option-bearing sources. Source/Tools/ImageBaker.cpp
image-format.format.frm frm baker and default runtime FRM imports big-endian frame timing, offsets, deltas, one or complete direction tables, optional same-basename .pal data, and animated default-palette indices. Source/Tools/ImageBaker.cpp
image-format.format.fr0 fr0 baker and default runtime A .fr0 entry discovers its numbered directional siblings, rejects a gap after direction loading begins, and renames baked output to lowercase .fofrm for critter paths or .frm otherwise. Source/Tools/ImageBaker.cpp
image-format.format.rix rix baker and default runtime RIX imports one opaque indexed image using its embedded palette and emits one RGBA frame. Source/Tools/ImageBaker.cpp
image-format.format.art art baker and default runtime ART imports raw or RLE frames, palettes, offsets, frame rate, static or eight-rotation data, and the palette/alpha/mirror/frame filename options. Source/Tools/ImageBaker.cpp
image-format.format.spr spr baker only by default; wrap through FOFRM for the stock runtime SPR imports named sequences, layered parts, direction remapping, color offsets, repeated-frame sharing, and fixed 10 fps, but the stock DefaultSpriteFactory does not register the .spr extension. Source/Tools/ImageBaker.cpp, Source/Client/DefaultSprites.h
image-format.format.zar zar baker and default runtime ZAR imports one palette-backed raw or RLE image with alpha into one RGBA frame. Source/Tools/ImageBaker.cpp
image-format.format.til til baker and default runtime TIL imports its nested ZAR frames as a 10 fps single-direction sequence. Source/Tools/ImageBaker.cpp
image-format.format.mos mos baker and default runtime MOS imports one tiled palette image; MOSC is decompressed first, and palette color 0x00FF00 is made transparent. Source/Tools/ImageBaker.cpp
image-format.format.bam bam baker and default runtime BAM imports one selected cycle or one selected frame, supports packed BAMC input and RLE, derives frame deltas, and treats palette blue 255 as transparent. Source/Tools/ImageBaker.cpp
image-format.format.png png baker and default runtime PNG is decoded through libpng, strips 16-bit channels to 8-bit, expands palette/low-bit grayscale/tRNS data, and fills missing alpha with 255 before emitting one RGBA frame. Source/Tools/ImageBaker.cpp
image-format.format.tga tga baker and default runtime TGA supports only raw type 2 or RLE type 10 TrueColor input at 24 or 32 bpp, converts BGR(A) to RGBA, and flips rows bottom-to-top. Source/Tools/ImageBaker.cpp
Start typing to search.