Skip to content

Commit

Permalink
Merge pull request #713 from ShubhamVG/patch-1
Browse files Browse the repository at this point in the history
Fix typo in tutorial.md
  • Loading branch information
brendan-duncan authored Jan 21, 2025
2 parents cf5f6d9 + 3e4fa35 commit a66151f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ List<img.Image> splitImage(img.Image inputImage, int horizontalPieceCount, int v
final pieceWidth = (image.width / horizontalPieceCount).round();
final pieceHeight = (image.height / verticalPieceCount).round();
final pieceList = List<imglib.Image>.empty(growable: true);
final pieceList = List<img.Image>.empty(growable: true);
for (var y = 0; y < image.height; y += pieceHeight) {
for (var x = 0; x < image.width; x += pieceWidth) {
Expand Down

0 comments on commit a66151f

Please sign in to comment.