From c6374ae20973c54cb4ad9a03d6fd55ccff3f5bd8 Mon Sep 17 00:00:00 2001 From: Andreas Gabor Date: Wed, 13 Mar 2024 10:57:33 +0100 Subject: [PATCH] fix quickstart scala examples (#285) * fix sbt library dependency example * fix scala import --- docs/quick_start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quick_start.md b/docs/quick_start.md index 66546a56..b28c1ab6 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -20,7 +20,7 @@ around the [TwelveMonkeys](https://github.com/haraldk/TwelveMonkeys) library. === "SBT" ```scala - libraryDependencies += "com.sksamuel.scrimage" %% "scrimage-core" % "$version" + libraryDependencies += "com.sksamuel.scrimage" % "scrimage-core" % "$version" libraryDependencies += "com.sksamuel.scrimage" %% "scrimage-scala" % "$version" ``` @@ -40,7 +40,7 @@ around the [TwelveMonkeys](https://github.com/haraldk/TwelveMonkeys) library. ### Scala Helpers If you are using Scala and you have added the scala module, then add the import -`import com.sksamuel.scrimage.scala._` to bring into scope some useful implicits. +`import com.sksamuel.scrimage.implicits._` to bring into scope some useful implicits. Firstly, an implicit `PNGWriter` so you do not have to specify it when outputting images. Secondly, a conversion to / from