Permalink
Browse files

Initial import -- two URF files and some header decoded.

  • Loading branch information...
0 parents commit fccadb68d3425d9982847bdcea38fc15806b16c1 @AlanQuatermain committed Nov 12, 2010
Showing with 53 additions and 0 deletions.
  1. BIN 1-page.urf
  2. BIN 17-pages.urf
  3. +53 −0 partial_decode.txt
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,53 @@
+Here's the header data blob:
+
+554e 4952 4153 5400-0000 0001 1801 0004
+0000 0001 0000 0000-0000 13ec 0000 19c8
+0000 0258 0000 0000-0000 0000 ff80 c780
+01
+// raster data starts here -- BYTE ALIGNED
+7f ffff ff7f ffff-ff7f ffff ff7f ffff
+
+554e 4952 4153 5400 = "UNIRAST\0"
+0000 0001 = 1 page?
+1801 = 1645
+0004 = 4
+
+// page header
+0000 0001 = 1 copy?
+0000 0000 = 0
+0000 13ec = 5100 = page width
+0000 19c8 = 6600 = page height
+0000 0258 = 600 = dots per inch
+
+Another one, for a 17-page file (which reported 0 pages up front, supposedly)
+
+554e 4952 4153 5400-0000 0011 1801 0004
+0000 0001 0000 0000-0000 13ec 0000 19c8
+0000 0258 0000 0000-0000 0000 ff80 9b80
+017f ffff ff7f ffff-ff7f ffff ff7f ffff
+
+554e 4952 4153 5400 = "UNIRAST\0"
+0000 0011 = 17 pages
+
+// page header
+1801
+0004
+0000 0001 = ?
+0000 0000
+0000 13ec = 5100 = page width
+0000 19c8 = 6600 = page height
+0000 0258 = 600 = dots per inch
+0000 0000
+0000 0000
+ff80 9b80
+01
+
+// raster data
+
+...
+
+// page footer ?
+8080 8080
+ff80 6f80
+
+// next page header is here, etc.

0 comments on commit fccadb6

Please sign in to comment.