private void LoadBitmap(Bitmap bitmap, bool swapBlueRed = true)
        {
            if (bitmap.PixelFormat != System.Drawing.Imaging.PixelFormat.Format32bppArgb)
            {
                bitmap = BitmapExtension.ToArgb32(bitmap);
            }

            Name      = FileInfo != null ? FileInfo.FileName : "bitmap";
            ImageData = BitmapExtension.ImageToByte(bitmap);
            if (swapBlueRed)
            {
                ImageData = ImageUtility.ConvertBgraToRgba(ImageData);
            }
            Width  = (uint)bitmap.Width;
            Height = (uint)bitmap.Height;
            Platform.OutputFormat = TexFormat.RGBA8_UNORM;
            MipCount = 1;
            CanEdit  = true;
        }