From 217e6c7eeb0197993e99b9713126f6ace6c17a3b Mon Sep 17 00:00:00 2001 From: Amjad Ben Hedhili Date: Fri, 4 Feb 2022 14:41:28 +0100 Subject: [PATCH] Rename baboon to mandrill ![Baboon](https://en.wikipedia.org/wiki/Baboon) ![Mandrill](https://en.wikipedia.org/wiki/Mandrill) --- README.md | 2 +- examples/data/{baboon.png => mandrill.png} | Bin examples/image_tiled.nim | 2 +- tests/fileformats/png/{baboon.png => mandrill.png} | Bin tests/test_images.nim | 4 ++-- tests/test_paints.nim | 8 ++++---- 6 files changed, 8 insertions(+), 8 deletions(-) rename examples/data/{baboon.png => mandrill.png} (100%) rename tests/fileformats/png/{baboon.png => mandrill.png} (100%) diff --git a/README.md b/README.md index e81894a..83f2c1c 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,7 @@ path.polygon( ) let paint = newPaint(pkImageTiled) -paint.image = readImage("examples/data/baboon.png") +paint.image = readImage("examples/data/mandrill.png") paint.imageMat = scale(vec2(0.08, 0.08)) image.fillPath(path, paint) diff --git a/examples/data/baboon.png b/examples/data/mandrill.png similarity index 100% rename from examples/data/baboon.png rename to examples/data/mandrill.png diff --git a/examples/image_tiled.nim b/examples/image_tiled.nim index b84f685..4f407f0 100644 --- a/examples/image_tiled.nim +++ b/examples/image_tiled.nim @@ -11,7 +11,7 @@ path.polygon( ) let paint = newPaint(pkImageTiled) -paint.image = readImage("examples/data/baboon.png") +paint.image = readImage("examples/data/mandrill.png") paint.imageMat = scale(vec2(0.08, 0.08)) image.fillPath(path, paint) diff --git a/tests/fileformats/png/baboon.png b/tests/fileformats/png/mandrill.png similarity index 100% rename from tests/fileformats/png/baboon.png rename to tests/fileformats/png/mandrill.png diff --git a/tests/test_images.nim b/tests/test_images.nim index 2e471d7..8b2a756 100644 --- a/tests/test_images.nim +++ b/tests/test_images.nim @@ -113,9 +113,9 @@ block: block: let - a = readImage("tests/fileformats/png/baboon.png") + a = readImage("tests/fileformats/png/mandrill.png") b = a.minifyBy2() - b.writeFile("tests/images/minifiedBaboon.png") + b.writeFile("tests/images/minifiedMandrill.png") block: let a = newImage(100, 100) diff --git a/tests/test_paints.nim b/tests/test_paints.nim index f206a08..cef8d87 100644 --- a/tests/test_paints.nim +++ b/tests/test_paints.nim @@ -18,7 +18,7 @@ block: block: let paint = newPaint(pkImage) - paint.image = decodePng(readFile("tests/fileformats/png/baboon.png")) + paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png")) paint.imageMat = scale(vec2(0.2, 0.2)) let image = newImage(100, 100) @@ -27,7 +27,7 @@ block: block: let paint = newPaint(pkImage) - paint.image = decodePng(readFile("tests/fileformats/png/baboon.png")) + paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png")) paint.imageMat = scale(vec2(0.2, 0.2)) paint.opacity = 0.5 @@ -37,7 +37,7 @@ block: block: let paint = newPaint(pkImageTiled) - paint.image = decodePng(readFile("tests/fileformats/png/baboon.png")) + paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png")) paint.imageMat = scale(vec2(0.02, 0.02)) let image = newImage(100, 100) @@ -46,7 +46,7 @@ block: block: let paint = newPaint(pkImageTiled) - paint.image = decodePng(readFile("tests/fileformats/png/baboon.png")) + paint.image = decodePng(readFile("tests/fileformats/png/mandrill.png")) paint.imageMat = scale(vec2(0.02, 0.02)) paint.opacity = 0.5