Add support for jbig2 encoded images

This is often used for binary images.

Closes: #433
This commit is contained in:
Eike Kettner 2020-11-10 22:28:34 +01:00
parent 746e04c624
commit cd81161cb0

View File

@ -21,6 +21,7 @@ object Dependencies {
val Icu4jVersion = "68.1"
val JsoupVersion = "1.13.1"
val KindProjectorVersion = "0.10.3"
val LevigoJbig2Version = "2.0"
val Log4sVersion = "1.9.0"
val LogbackVersion = "1.2.3"
val MariaDbVersion = "2.7.0"
@ -85,12 +86,16 @@ object Dependencies {
"com.twelvemonkeys.imageio" % "imageio-tiff" % TwelveMonkeysVersion
)
val levigoJbig2 = Seq(
"com.levigo.jbig2" % "levigo-jbig2-imageio" % LevigoJbig2Version
)
val pdfbox = Seq(
("org.apache.pdfbox" % "pdfbox" % PdfboxVersion).excludeAll(
ExclusionRule("org.bouncycastle"),
ExclusionRule("commons-logging")
)
) ++ jclOverSlf4j
) ++ jclOverSlf4j ++ levigoJbig2
val emilCommon = Seq(
"com.github.eikek" %% "emil-common" % EmilVersion