|
@@ -88,7 +88,7 @@ public class ImagesClip : MonoBehaviour
|
|
}
|
|
}
|
|
if (find) break;
|
|
if (find) break;
|
|
}
|
|
}
|
|
- bmp = Cut(bmp, left, top, right - left, bottom - top);
|
|
|
|
|
|
+ bmp = Cut(bmp, left, top, right - left + 1, bottom - top + 1);
|
|
if (bmp != null)
|
|
if (bmp != null)
|
|
{
|
|
{
|
|
bmp.Save(TargetPath + fileName);
|
|
bmp.Save(TargetPath + fileName);
|