Export images with channel components enabled if used in image editor
This commit is contained in:
parent
7276ed399c
commit
7b18d66991
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -692,6 +692,10 @@ namespace Switch_Toolbox.Library
|
||||
progressBar.Refresh();
|
||||
|
||||
Bitmap bitMap = GetBitmap(SurfaceLevel, MipLevel);
|
||||
if (Runtime.ImageEditor.UseComponetSelector)
|
||||
{
|
||||
BitmapExtension.SetChannel(bitMap, RedChannel, GreenChannel, BlueChannel, AlphaChannel);
|
||||
}
|
||||
bitMap.Save(FileName);
|
||||
bitMap.Dispose();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user