diff --git a/pk3DS/Util.cs b/pk3DS/Util.cs index adc9d74..b99c25a 100644 --- a/pk3DS/Util.cs +++ b/pk3DS/Util.cs @@ -735,7 +735,7 @@ internal static Bitmap TrimBitmap(Bitmap source) break; } - srcRect = Rectangle.FromLTRB(xMin, yMin, xMax, yMax); + srcRect = Rectangle.FromLTRB(xMin, yMin, xMax + 1, yMax + 1); // fixed; was cropping 1px too much on the max end } finally {