summaryrefslogtreecommitdiff
path: root/graphics/jpeg_ls/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-12-21 21:29:08 +0000
committerwiz <wiz@pkgsrc.org>2003-12-21 21:29:08 +0000
commit3eca58ed5946bab08f51004f40ce11af87cc3b2b (patch)
tree5875c58dc5879c9d3f1237453975ec376f6766c9 /graphics/jpeg_ls/Makefile
parent93b1bd0e72c7194dbf54019e284829695643b706 (diff)
downloadpkgsrc-3eca58ed5946bab08f51004f40ce11af87cc3b2b.tar.gz
Initial import of jpeg_ls-2.2:
This software package contains an implementation of JPEG-LS, the emerging lossless/near-lossless compression standard for continuous-tone images being developed by ISO/IEC JTC1/SC29/WG1 (draft document FCD14495 as of November 1997). The names of the executables in the software package derive from the acronym LOCO, as the core of the new standard is based on the LOCO-I algorithm (LOw COmplexity LOssless COmpression for Images) developed at Hewlett-Packard Laboratories (reference: M. Weinberger, G. Seroussi, G. Sapiro, "LOCO-I: A Low Complexity, Context-Based, Lossless Image Compression Algorithm," Proc. IEEE Data Compression Conference, Snowbird, Utah, March-April 1996). The term "near-lossless compression" refers to a lossy algorithm for which each decompressed image sample differs from the corresponding original image sample by not more than a pre-specified value, the (usually small) "loss." Lossless compression corresponds to loss=0. Even though the term "continuous-tone image" refers in principle to any image whose components have more than one bit per sample, palletized images may require a reordering of the color palette for best compression results using LOCO-I on the array of color indices. This functionality is not implemented in the present software, although it is supported by the new standard, and is easy enough to implement with the tools given. Notice, however, that LOCO-I and JPEG-LS were not designed, and might not give optimal performance, for images that have been palletized through dithering.
Diffstat (limited to 'graphics/jpeg_ls/Makefile')
-rw-r--r--graphics/jpeg_ls/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/jpeg_ls/Makefile b/graphics/jpeg_ls/Makefile
new file mode 100644
index 00000000000..e7e75f01d89
--- /dev/null
+++ b/graphics/jpeg_ls/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/21 21:29:08 wiz Exp $
+#
+
+DISTNAME= jpeg_ls_v2.2
+PKGNAME= jpeg_ls-2.2
+CATEGORIES= graphics
+MASTER_SITES= http://www.ece.ubc.ca/spmg/research/jpeg/jpeg_ls/ver-2.2/
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.ece.ubc.ca/spmg/research/jpeg/jpeg_ls/jpegls.html
+COMMENT= JPEG-LS codec (lossless/near-lossless codec)
+
+USE_BUILDLINK2= yes
+BUILD_DIRS= ${WRKSRC}/Decoder ${WRKSRC}/Encoder
+MAKEFILE= makefile
+
+LICENSE= no-commercial-use
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/Decoder/locod ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/Encoder/locoe ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg_ls
+ ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/jpeg_ls
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jpeg_ls
+ ${INSTALL_DATA} ${WRKSRC}/*.jls ${PREFIX}/share/examples/jpeg_ls
+ ${INSTALL_DATA} ${WRKSRC}/table* ${PREFIX}/share/examples/jpeg_ls
+
+.include "../../mk/bsd.pkg.mk"