OSDN Git Service

W.I.P. #C - changed color channels [bug-workaround]
authormelchior <melchior@users.osdn.me>
Sun, 8 Dec 2019 00:00:39 +0000 (19:00 -0500)
committermelchior <melchior@users.osdn.me>
Sun, 8 Dec 2019 00:00:39 +0000 (19:00 -0500)
Automap/Automap_Internals.cs

index 8e3daf4..71f8860 100644 (file)
@@ -290,7 +290,7 @@ namespace Automap
                int col = ColorUtil.ColorOverlay(avgCol, rndCol, 0.125f);
                var packedFormat = ColorUtil.ColorMultiply3Clamped(col, b);
 
-               Color pixelColor = Color.FromArgb(ColorUtil.ColorR(packedFormat), ColorUtil.ColorG(packedFormat), ColorUtil.ColorB(packedFormat));
+               Color pixelColor = Color.FromArgb(ColorUtil.ColorB(packedFormat), ColorUtil.ColorG(packedFormat), ColorUtil.ColorR(packedFormat));
 
                //============ POI Population =================
                if (BlockID_Designators.ContainsKey(blockId)) {