mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-09 07:08:56 +08:00
(PSD): interpret multi-channel images as Bgr32.
This commit is contained in:
@@ -111,6 +111,8 @@ namespace GameRes.Formats.Adobe
|
||||
Format = PixelFormats.Bgr24;
|
||||
else if (4 == m_info.Channels)
|
||||
Format = PixelFormats.Bgra32;
|
||||
else if (m_info.Channels > 4)
|
||||
Format = PixelFormats.Bgr32;
|
||||
else
|
||||
throw new NotSupportedException();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user