Skip to content

travisebill/afpds-studio

v1.0.0

AFP / AFPDS(Advanced Function Presentation)文件開發工具箱:內建 AFPC 完整出版品語料庫(32 份文件、5,490 頁、11.7 MB 純文字),每個位元組值、結構識別碼與繪圖規則都能追回規格頁碼;並附一套自建的 MO:DCA 資料流 → PNG 渲染器,可直接解出 FOCA 字型、PTOCA 文字、GOCA 圖形與 IOCA 影像並合成頁面預覽。適合解析 .afp 檔、驗證結構、撰寫產生器,或把 AFP 頁面轉成圖片檢視。

afp-renderer

Rasterise an AFP / MO:DCA document page into a PNG image. Use this skill whenever the task asks to render, rasterise, preview, screenshot or "see what it looks like" for an AFP file — for example "把這份 AFP 轉成圖片", "render this .afp to PNG", "預覽這個 AFP 頁面", "this AFP looks blank, show me what the page contains". It decodes the MO:DCA data stream, the FOCA fonts, PTOCA text, GOCA graphics and IOCA images and composites them into a black-on-white page image, with every drawing rule traced to a specification page. Do NOT use it for PDF/PostScript conversion, for editing the AFP bytes themselves (use the afpds-expert skill), or for a document that has no external resource file available.

Read SKILL.md at the source

Pinned to revision 0be6741bf84d, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.