Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mcychan authored Feb 28, 2025
1 parent 41ebbc8 commit 3f5ed39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nQuant.Master/PnnLABGAQuantizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public PnnLABGAQuantizer(PnnLABQuantizer pq, List<Bitmap> sources, int nMaxColor
minRatio = (hasSemiTransparency || nMaxColors < 64) ? .0111 : .85;
maxRatio = Math.Min(1.0, nMaxColors / ((nMaxColors < 64) ? 400.0 : 50.0));
if (nMaxColors < 16)
maxRatio = .25;
maxRatio = .2;
_dp = maxRatio < .1 ? 10000 : 100;
}

Expand Down

0 comments on commit 3f5ed39

Please sign in to comment.