PES / PEC — Brother

PES è il formato Brother moderno. PEC è il blocco colori + thumb che vivono dentro un PES (ma possono stare anche separati). I file hanno magic bytes riconoscibili; la lettura sniffa dal contenuto.

Caratteristiche

Lettura

packages/core/src/readers/pes.ts e pec.ts riconoscono il formato via magic bytes (isPec(), isPes() in registry.ts:detectFormat). L'header PES esiste in molte versioni diverse; il reader gestisce PES v1–v10+ con un unico path robusto.

Scrittura

src/writers/pes.ts + pec.ts producono un PES autoportante con il suo PEC incorporato. Colori: avvicinati al chart Brother. Nota standard mostrata nella UI:

PES: i colori vengono avvicinati alle matassine Brother.

← ZHS DST →