GROB is a bi-level raster graphics format associated with HP-48 and HP-49 series calculators.
There are two ways to encode a GROB image: "binary" and "ASCII". Sometimes, GROB images are also ASC-encoded.
Binary format has an 18-byte header, followed by the pixel data.
A binary GROB file begins with "
HPHP48" or "
HPHP49", and has bytes
1E 2B at offset 8.
ASCII format apparently begins with "
GROB ". An ASCII GROB might be embedded inside a script, or preceded by a "
%%HP" header line, so it won't necessarily start at the beginning of the file.
- My HP48 and HP49 software → hp48-mf-0.6.zip → hp48.dtx → grob2eps.c