From 56788035a57aef2b77f34b895dd29e8c87facb4b Mon Sep 17 00:00:00 2001 From: Cherry <13651622+MolotovCherry@users.noreply.github.com> Date: Thu, 3 Nov 2022 06:27:17 -0800 Subject: [PATCH] Fix link to getImageColors #12 --- .../src/main/kotlin/com/cherryleafroad/kmagick/MagickWand.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kmagick/src/main/kotlin/com/cherryleafroad/kmagick/MagickWand.kt b/kmagick/src/main/kotlin/com/cherryleafroad/kmagick/MagickWand.kt index 25ff907..770bed7 100644 --- a/kmagick/src/main/kotlin/com/cherryleafroad/kmagick/MagickWand.kt +++ b/kmagick/src/main/kotlin/com/cherryleafroad/kmagick/MagickWand.kt @@ -873,8 +873,10 @@ class MagickWand : Closeable { /** * Gets the number of unique colors in the image. */ + var getImageColors: Long + get() = magickGetImageColors() @Throws(MagickWandException::class) - external fun getImageColors(): Long + private external fun magickGetImageColors(): Long /** * The filename associated with an image sequence.