/// <summary>
        /// Getting bitmap for show UI. Proportion screen width, bitmap size calcurate.
        /// </summary>
        private Bitmap getOutputBitmap(SCameraImage mImage)
        {
            float scaleWidth  = (float)mScreenWidth / (float)mImage.Width;
            float scaleHeight = (float)mScreenHeight / (float)mImage.Height;
            float scale       = Math.Min(scaleWidth, scaleHeight);

            try
            {
                if (scale < 1)
                {
                    return(mImage.getBitmap((int)(scale * mImage.Width), (int)(scale * mImage.Height)));
                }
                else
                {
                    return(mImage.Bitmap);
                }
            }
            catch (System.OutOfMemoryException)
            {
                Log.e(TAG, "Not enough memory to getbitmap");
                return(null);
            }
            catch (System.ArgumentException e)
            {
                Toast.makeTextuniquetempvar.show();
                return(null);
            }
        }
		/// <summary>
		/// Getting bitmap for show UI. Proportion screen width, bitmap size calcurate.
		/// </summary>
		private Bitmap getOutputBitmap(SCameraImage mImage)
		{
			float scaleWidth = (float)mScreenWidth / (float)mImage.Width;
			float scaleHeight = (float)mScreenHeight / (float)mImage.Height;
			float scale = Math.Min(scaleWidth, scaleHeight);
			try
			{
				if (scale < 1)
				{
					return mImage.getBitmap((int)(scale * mImage.Width), (int)(scale * mImage.Height));
				}
				else
				{
					return mImage.Bitmap;
				}
			}
			catch (System.OutOfMemoryException)
			{
				Log.e(TAG,"Not enough memory to getbitmap");
				return null;
			}
			catch (System.ArgumentException e)
			{
				Toast.makeTextuniquetempvar.show();
				return null;
			}
		}