 				m_imageLoader.priority = value;
 			}
 		}
-	
+		
 		public function setSmoothing(enabled : Boolean) : void
 		{
 			//TODO: found out how to enable smoothing
 			m_smoothing = enabled;
 		}
 		
+		public function bitmapData() : BitmapData
+		{
+			if (!m_image)
+			{
+				return null;
+			}
+			return m_image.bitmapData;
+		}
+
 		
 		/***************************************************************************
 		*							protected methods							   *


package reprise.controls.html
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.events.Event;
	
	import reprise.events.DisplayEvent;
	import reprise.events.ResourceEvent;
	import reprise.external.BitmapResource;
	import reprise.ui.UIComponent; 

	public class Image extends UIComponent
	{

				m_intrinsicHeight = 0;
				return;
			}
			m_intrinsicWidth = BitmapData(m_imageLoader.content()).width;
			m_intrinsicHeight = BitmapData(m_imageLoader.content()).height;
		}
	}
}