GROB

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Graphics |extensions={{ext|grb}}, {{ext|gro}}, others |released=~1990 }} '''GROB''' is a raster graphics format associated with HP-...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
|released=~1990
 
|released=~1990
 
}}
 
}}
'''GROB''' is a raster graphics format associated with HP-48 and HP-49 series calculators.
+
'''GROB''' is a (usually) bi-level raster graphics format associated with HP-48 and HP-49 series calculators.
  
There are at least two ways to encode a GROB image: "binary" and "ASCII". There may also be a third encoding called "text" or "ASC".
+
There are two ways to encode a GROB image: "binary" and "ASCII". Sometimes, GROB images are also [[ASCII Encoded HP 48 Object|ASC-encoded]].
 +
 
 +
== Format details ==
 +
Binary format has an 18-byte header, followed by the pixel data.
 +
 
 +
=== Grayscale images ===
 +
Although the format only really supports bi-level images, some images are intended to be interpreted as grayscale with 2 bits/pixel (or perhaps more). The physical image consists of the bit-planes stacked vertically. Unfortunately, there does not seem to be any way to detect whether this is the case.
  
 
== Identification ==
 
== Identification ==
A binary GROB file begins with "HPHP48" or "HPHP49", and has bytes <code>1E 2B</code> at offset 8.
+
A binary GROB file begins with "{{magic|HPHP48}}" or "{{magic|HPHP49}}", and has bytes {{magic|1E 2B}} at offset 8.
  
ASCII format apparently begins with "<code>GROB </code>"
+
ASCII format apparently begins with "{{magic|GROB }}". An ASCII GROB might be embedded inside a script, or preceded by a "{{magic|%%HP}}" header line, so it won't necessarily start at the beginning of the file.
  
 
== Software ==
 
== Software ==
 +
* [[Konvertor]]
 
* [[XnView]]
 
* [[XnView]]
 
* [http://ftp.funet.fi/index/misc/hp48sx/graphics/grob.to.bitmap grob.to.bitmap]
 
* [http://ftp.funet.fi/index/misc/hp48sx/graphics/grob.to.bitmap grob.to.bitmap]
 
* [http://ftp.funet.fi/index/misc/hp48sx/graphics/grob2eps.c grob2eps.c]
 
* [http://ftp.funet.fi/index/misc/hp48sx/graphics/grob2eps.c grob2eps.c]
 +
* [http://homepage.univie.ac.at/Georg.Zotti/hp/index.html My HP48 and HP49 software] → [http://homepage.univie.ac.at/Georg.Zotti/hp/hp48-mf-0.6.zip hp48-mf-0.6.zip] → hp48.dtx → grob2eps.c
 +
* [[Farbfeld Utilities]]
  
 
== Sample files ==
 
== Sample files ==
 
=== Binary ===
 
=== Binary ===
 +
* http://cd.textfiles.com/hhot/CALCUL~5/HP48G/GRAPHICS/ ...
 
* [http://cd.textfiles.com/blackphiles/PHILES/HP48_1/GROBS1.ZIP GROBS1.ZIP], [http://cd.textfiles.com/blackphiles/PHILES/HP48_1/GROBS2.ZIP GROBS2.ZIP]
 
* [http://cd.textfiles.com/blackphiles/PHILES/HP48_1/GROBS1.ZIP GROBS1.ZIP], [http://cd.textfiles.com/blackphiles/PHILES/HP48_1/GROBS2.ZIP GROBS2.ZIP]
 
* [http://www.hpcalc.org/details.php?id=4228 grobs49.zip]
 
* [http://www.hpcalc.org/details.php?id=4228 grobs49.zip]
 
=== ASCII ===
 
=== ASCII ===
 
* [http://www.hpcalc.org/details.php?id=4552 supercarsgrob.zip]
 
* [http://www.hpcalc.org/details.php?id=4552 supercarsgrob.zip]
 +
 +
[[Category:Hewlett-Packard]]

Latest revision as of 07:27, 8 December 2019

File Format
Name GROB
Ontology
Extension(s) .grb, .gro, others
Released ~1990

GROB is a (usually) 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.

Contents

[edit] Format details

Binary format has an 18-byte header, followed by the pixel data.

[edit] Grayscale images

Although the format only really supports bi-level images, some images are intended to be interpreted as grayscale with 2 bits/pixel (or perhaps more). The physical image consists of the bit-planes stacked vertically. Unfortunately, there does not seem to be any way to detect whether this is the case.

[edit] Identification

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.

[edit] Software

[edit] Sample files

[edit] Binary

[edit] ASCII

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox