Skip to content

Commit

Permalink
fix quickstart scala examples (#285)
Browse files Browse the repository at this point in the history
* fix sbt library dependency example

* fix scala import
  • Loading branch information
an-tex committed Mar 13, 2024
1 parent 21b9d16 commit c6374ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/quick_start.md
Expand Up @@ -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"
```

Expand All @@ -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
Expand Down

0 comments on commit c6374ae

Please sign in to comment.