summaryrefslogtreecommitdiff
path: root/gnu/packages/image-processing.scm
diff options
context:
space:
mode:
authorTor-björn Claesson <tclaesson@gmail.com>2022-12-28 02:23:53 +0200
committerLudovic Courtès <ludo@gnu.org>2023-01-05 23:05:41 +0100
commit1fa87755057347f8893ec137cc5a7550a23f241f (patch)
tree787909f538d06f4d0e5ee0cbdc06f72592809528 /gnu/packages/image-processing.scm
parentc7158acfba1f992e3e6451761ab1174067c3fd85 (diff)
gnu: Add charls.
* gnu/packages/image-processing.scm (charls): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/image-processing.scm')
-rw-r--r--gnu/packages/image-processing.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 85acc3f5b5a..70c820e76b3 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1748,3 +1748,31 @@ segmentation.")
1748 "Image and video labeling tool supporting different shapes like 1748 "Image and video labeling tool supporting different shapes like
1749polygons, rectangles, circles, lines, points and VOC/COCO export.") 1749polygons, rectangles, circles, lines, points and VOC/COCO export.")
1750 (license license:gpl3+))) 1750 (license license:gpl3+)))
1751
1752(define-public charls
1753 (package
1754 (name "charls")
1755 (version "2.3.4")
1756 (source (origin
1757 (method git-fetch)
1758 (uri (git-reference
1759 (url "https://github.com/team-charls/charls/")
1760 (commit (string-append version))))
1761 (file-name (git-file-name name version))
1762 (sha256
1763 (base32
1764 "0g3f1rfimk30rqmi7ic4i5vfphyqbbpsyyhwqq1iss9wjwaz2vs5"))))
1765 (build-system cmake-build-system)
1766 (arguments
1767 `(#:configure-flags '("-DCMAKE_BUILD_TYPE:STRING=Release"
1768 "-DBUILD_SHARED_LIBS=On")))
1769 (native-inputs (list git pkg-config))
1770 (home-page "https://github.com/team-charls/charls")
1771 (synopsis "Library for using JPEG-LS compliant images")
1772 (description
1773 "CharLS is a codec library that can be used to build applications that
1774can handle JPEG-LS compliant images. In the application you are writing you
1775can call the CharLS codec and pass it images (sometimes called raster bitmaps),
1776 to have them encoded to JPEG-LS, or JPEG-LS streams, which CharLS will decode
1777to images.")
1778 (license license:bsd-3)))