Added custom requestImageFromBitmapData functionality