mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(PSD): interpret multi-channel images as Bgr32.
This commit is contained in:
parent
8ce70f1f9f
commit
d56397e44b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user