Vfp.export_json()
asset.export_json(output_path) -> dict[str, object]
从权威 PAL0/VOX0 导出 PixForge JSON,返回 input、output、gridSize、paletteCount、jsonBytes。若 PAL0 符号无法无歧义表示 JSON colors,抛出 VfpError,不会生成失真的输出。
Vfp.export_json()asset.export_json(output_path) -> dict[str, object]
从权威 PAL0/VOX0 导出 PixForge JSON,返回 input、output、gridSize、paletteCount、jsonBytes。若 PAL0 符号无法无歧义表示 JSON colors,抛出 VfpError,不会生成失真的输出。