<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -87,7 +87,7 @@ module Prawn
 
       # find where the image will be placed and how big it will be  
       w,h = calc_image_dimensions(info, options)
-      
+
       if options[:at]       
         x,y = translate(options[:at]) 
       else                  
@@ -288,6 +288,8 @@ module Prawn
           w = bh * ip
         end
       end
+      info.scaled_width = w
+      info.scaled_height = h
       [w,h]
     end
 </diff>
      <filename>lib/prawn/images.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,8 @@ module Prawn
     # of a PNG image that we need to embed them in a PDF
     class JPG 
       attr_reader :width, :height, :bits, :channels
-
+      attr_accessor :scaled_width, :scaled_height
+      
       JPEG_SOF_BLOCKS = %W(\xc0 \xc1 \xc2 \xc3 \xc5 \xc6 \xc7 \xc9 \xca \xcb \xcd \xce \xcf)
       JPEG_APP_BLOCKS = %W(\xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef)
 </diff>
      <filename>lib/prawn/images/jpg.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,8 @@ module Prawn
       attr_reader :width, :height, :bits
       attr_reader :color_type, :compression_method, :filter_method
       attr_reader :interlace_method, :alpha_channel
-
+      attr_accessor :scaled_width, :scaled_height
+      
       # Process a new PNG image
       #
       # &lt;tt&gt;:data&lt;/tt&gt;:: A string containing a full PNG file</diff>
      <filename>lib/prawn/images/png.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cd63dfb9424292cc3dcd97dcce0fb55349ce4dc8</id>
    </parent>
  </parents>
  <author>
    <name>Trym Skaar</name>
    <email>ts@skalar.no</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/e020ec959dde98a510d030eea099a40e9819ee0b</url>
  <id>e020ec959dde98a510d030eea099a40e9819ee0b</id>
  <committed-date>2008-10-29T12:01:04-07:00</committed-date>
  <authored-date>2008-10-29T12:01:04-07:00</authored-date>
  <message>Added scaled_width and scaled_height to info returned by image() method</message>
  <tree>ff54224c321e1d17ff3ee314ceb4376ca6600771</tree>
  <committer>
    <name>Trym Skaar</name>
    <email>ts@skalar.no</email>
  </committer>
</commit>
