private bool AskAboutAlphaChannel(Bitmap bmp)
{
bool useAlphaChannel = false;
if ((bmp.PixelFormat == PixelFormat.Format32bppArgb) && (Factory.AGSEditor.CurrentGame.Settings.ColorDepth == GameColorDepth.TrueColor))
{
if (Factory.GUIController.ShowQuestion("This image appears to have an alpha channel. Do you want to use it?") == DialogResult.Yes)
{
useAlphaChannel = true;
}
}
return useAlphaChannel;
}