Skip to content

Commit 22d2411

Browse files
committed
Fix indexed color type images
1 parent 70f8d8b commit 22d2411

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TextureMerge/Merge/Merge.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ public void LoadChannel(string path, Channel channelSlot, Channel channelSource)
363363

364364

365365
var source = new TMImage(new MagickImage(path), Path.GetFileName(path));
366+
source.Image.ColorType = ColorType.TrueColor;
366367
source.Image.AutoOrient();
367368
source.Image.ColorSpace = ColorSpace.sRGB;
368369

0 commit comments

Comments
 (0)