<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,9 +6,6 @@
 #
 # This is free software. Please see the LICENSE and COPYING files for details.
 
-require 'prawn/images/offset_reader'
-
-
 module Prawn
 
   module Images</diff>
      <filename>lib/prawn/images.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,24 @@
 # no response to emails asking for my extensions to be integrated and a
 # RubyGem package to be made available.
 
-class ImageInfo
+class ImageInfo  
+  
+  module OffsetReader
+    def read_o(length = 1, offset = nil)
+      @offset ||= 0
+      @offset = offset if offset
+      ret = self[@offset, length]
+      @offset += length
+      ret
+    end
+    def offset
+      @offset
+    end
+    def offset=(o)
+      @offset = o || 0
+    end
+  end
+  
   # Image Format Constants
   module Formats
     OTHER     = &quot;OTHER&quot;
@@ -74,7 +91,7 @@ class ImageInfo
     elsif @data.is_a?(String)
       @top = @data[0, 128]
       # Define Singleton-method definition to String (byte, offset)
-      @data.extend(Prawn::Images::OffsetReader)
+      @data.extend(OffsetReader)
     else
       raise &quot;argument class error!! #{data.type}&quot;
     end</diff>
      <filename>vendor/image_info/image_info.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2ee6d504646525f4789f628b0b44d9a7908dab2e</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/50ff78422473262ed2acafa82c8410d12f33265d</url>
  <id>50ff78422473262ed2acafa82c8410d12f33265d</id>
  <committed-date>2008-07-24T15:45:35-07:00</committed-date>
  <authored-date>2008-07-24T15:45:35-07:00</authored-date>
  <message>Move offset reader out of Prawn</message>
  <tree>4c799323d5f914652221b8c46ce4f97cf441e371</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
