 package org.shypl.common.util {
 	import flash.display.Bitmap;
 	import flash.display.BitmapData;
+	import flash.display.BitmapDataChannel;
 	import flash.display.DisplayObject;
 	import flash.display.IBitmapDrawable;
 	import flash.display.PixelSnapping;

			bitmap.scaleX = scale;
			bitmap.scaleY = scale;
			return bitmap;
		}

		public static function defineVisibleBounds(target:IBitmapDrawable):Rectangle {

	import flash.geom.Rectangle;

	public final class BitmapUtils {

		public static function createBitmap(image:BitmapData, smoothing:Boolean = true, pixelSnapping:String = PixelSnapping.AUTO, x:Number = 0, y:Number = 0,
			scale:Number = 1
