summaryrefslogtreecommitdiff
path: root/graphics/jpeg
AgeCommit message (Collapse)AuthorFilesLines
2011-01-21Changes 8c:adam2-15/+14
Add option to compression library and cjpeg (-block N) to use different DCT block size. All N from 1 to 16 are possible. Default is 8 (baseline format). Larger values produce higher compression, smaller values produce higher quality. SmartScale capable decoder (introduced with IJG JPEG 8) required.
2010-12-12Conflicts with libjpeg-turbodsainty1-1/+3
2010-08-05Replace DESCR from version depend README in distribution fileobache1-16/+17
with http://www.ijg.org/files/README. Noticed by PR#43701.
2010-05-18update to 8bdrochner2-7/+8
changes: -Repair problem in new memory source manager with corrupt JPEG data -Repair problem in Makefile.am test target add "test" target
2010-04-09update to 8adrochner2-8/+7
changes: -Writing tables-only datastreams via jpeg_write_tables works again. -Support 32-bit BMPs (RGB image with Alpha channel) for read in cjpeg. -Improve accuracy in floating point IDCT calculation.
2010-01-25bump dependency again because linking was broken in a two day window.tnn1-4/+4
2010-01-20Pass --disable-ld-version-script to configure.tnn1-1/+4
Specifying a version script that doesn't contain anything is pointless, and seems to trigger toolchain bugs on DragonFlyBSD (PR pkg/42639). Bump revision.
2010-01-17library major was bumped again. (sigh)tnn1-4/+4
2010-01-17Update to 8:wiz2-10/+9
The current version is release 8 of 10-Jan-2010. Version 8 of the JPEG software introduces basic new features for image coding application and comes with an essential update of the original JPEG specification. New features and enhancements have been developed for the three major parts of the IJG library: the compression, the decompression, and the transcoding parts. These parts are represented by the three major tools of the IJG software: cjpeg (compress JPEG), djpeg (decompress JPEG), and jpegtran (transcode JPEG - lossless): IJG Tools New jpegtran -scale lossless resize feature A new option has been added to the jpegtran tool and transcoding library: -scale M/N Scale output image by fraction M/N, eg, 1/8 Currently supported scale factors are M/N with all M from 1 to 16, where N is the source DCT size, which is 8 for baseline JPEG. If the /N part is omitted, then M specifies the DCT scaled size to be applied on the given input. For baseline JPEG this is equivalent to M/8 scaling, since the source DCT size for baseline JPEG is 8. CAUTION: An implementation of the JPEG SmartScale extension is required for this feature. SmartScale enabled JPEG is not yet widely implemented, so many decoders will be unable to view a SmartScale extended JPEG file at all. New djpeg -scale feature The -scale option of the djpeg tool and decompression library has been extended: -scale M/N Scale output image by fraction M/N, eg, 1/8 Currently supported scale factors are M/N with all M from 1 to 16, where N is the source DCT size, which is 8 for baseline JPEG. If the /N part is omitted, then M specifies the DCT scaled size to be applied on the given input. For baseline JPEG this is equivalent to M/8 scaling, since the source DCT size for baseline JPEG is 8. New cjpeg features Two new features have been added to the cjpeg tool and compression library: -quality N[,...] Compression quality (0..100; 5-95 is useful range) -scale M/N Scale image by fraction M/N, eg, 1/2 The -quality option has been extended for support of separate quality settings for luminance and chrominance (or in general, for every provided quantization table slot). This feature is useful for high-quality applications which cannot accept the damage of color data by coarse subsampling settings. You can now easily reduce the color data amount more smoothly with finer control without separate subsampling. The resulting file is fully compliant with standard JPEG decoders. A new -scale option is provided with cjpeg which complements the corresponding djpeg -scale option. The supported range of scaling factors is 8/N with all N=1...16. This means you can now easily alter the nominal spatial resolution of a given source image while compressing to JPEG without additional resampling. For example, if you have an image sensor providing an effective capture resolution of 2268x1512 pixels (HI resolution), you can now directly generate a MED resolution of 1512x1008 pixels (-scale 2/3) and a LOW resolution of 1134x756 pixels (-scale 1/2) from the sensor source resolution with the library while compressing to JPEG without additional resampling. (An efficient 12x12 FDCT is used in the -scale 2/3 case, and an efficient 16x16 FDCT is used in the -scale 1/2 case instead of the standard 8x8 FDCT inside the library, ensuring high-quality downscaled results - the resulting file is fully compliant with standard JPEG decoders.)
2010-01-04Make sure that the patches and local files have a RCS ID.joerg5-17/+24
2009-08-26bump revision because of graphics/jpeg updatesno1-1/+2
2009-08-26Updating package graphics/jpeg from version 6bnb4 to 7sno11-1983/+117
pkgsrc changes: - update MASTER_SITES - bump ApI_DEPENDS in buildlink3.mk Upstream changes: - The new features added with version 6bnb4 are now added upstream (except exifautotran and jpegexiforient) Version 7 27-Jun-2009 ---------------------- New scaled DCTs implemented. djpeg now supports scalings N/8 with all N from 1 to 16. cjpeg now supports scalings 8/N with all N from 1 to 16. Scaled DCTs with size larger than 8 are now also used for resolving the common 2x2 chroma subsampling case without additional spatial resampling. Separate spatial resampling for those kind of files is now only necessary for N>8 scaling cases. Furthermore, separate scaled DCT functions are provided for direct resolving of the common asymmetric subsampling cases (2x1 and 1x2) without additional spatial resampling. cjpeg -quality option has been extended for support of separate quality settings for luminance and chrominance (or in general, for every provided quantization table slot). New API function jpeg_default_qtables() and q_scale_factor array in library. Added -nosmooth option to cjpeg, complementary to djpeg. New variable "do_fancy_downsampling" in library, complement to fancy upsampling. Fancy upsampling now uses direct DCT scaling with sizes larger than 8. The old method is not reversible and has been removed. Support arithmetic entropy encoding and decoding. Added files jaricom.c, jcarith.c, jdarith.c. Straighten the file structure: Removed files jidctred.c, jcphuff.c, jchuff.h, jdphuff.c, jdhuff.h. jpegtran has a new "lossless" cropping feature. Implement -perfect option in jpegtran, new API function jtransform_perfect_transform() in transupp. (DP 204_perfect.dpatch) Better error messages for jpegtran fopen failure. (DP 203_jpegtran_errmsg.dpatch) Fix byte order issue with 16bit PPM/PGM files in rdppm.c/wrppm.c: according to Netpbm, the de facto standard implementation of the PNM formats, the most significant byte is first. (DP 203_rdppm.dpatch) Add -raw option to rdjpgcom not to mangle the output. (DP 205_rdjpgcom_raw.dpatch) Make rdjpgcom locale aware. (DP 201_rdjpgcom_locale.dpatch) Add extern "C" to jpeglib.h. This avoids the need to put extern "C" { ... } around #include "jpeglib.h" in your C++ application. Defining the symbol DONT_USE_EXTERN_C in the configuration prevents this. (DP 202_jpeglib.h_c++.dpatch)
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-03-28Merge patch-af into patch-aa, both for 'makefile.cfg'.obache3-57/+52
2007-08-01File bin/exifautotran should be installed in ${DESTDIR}.obache1-2/+2
Pointed out by Blair Sadewitz in PR 36718.
2007-06-05Adopt some new features from www.jpegclub.org that have already beentnn10-4/+2285
adopted by many Linux distributions as well as FreeBSD ports: o jpegtran: add "-perfect" switch: Fail if there are non-transformable edge blocks. o jpegtran: add "-crop" switch: Crop to a rectangular subarea. o jpegtran: correct EXIF handling. o jpegexiforient: Get and set the Exif Orientation Tag. o exifautotran: Transforms Exif files so that Orientation becomes 1. Suggested by dzoe on #NetBSD IRCNet.
2006-11-02DESTDIR support.joerg3-8/+11
2006-09-03Reset maintainer for people who lost their commit bit.wiz1-2/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2005-12-27Add patch: the configure knows @mandir@ so make the Makefile use it.reed3-3/+17
And use PKGMANDIR for the INSTALLATION_DIRS. PKGREVISION not bumped -- no change in default build. And before would have failed if PKGMANDIR was set to non-default.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digestsagc1-1/+2
2004-10-30Sort.wiz1-2/+2
2004-10-30graphics/jpeg: install "jpegint.h" file, required by feh-1.2.7.xtraeme2-3/+5
Bump PKGREVISION.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-3/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-07-06Unused.wiz1-22/+0
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-2/+4
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-3/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does thisgrant1-3/+1
automatically now.
2004-01-24Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. Injlam1-2/+2
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-05bl3ifyjlam1-2/+5
2004-01-05Use S/+$// instead of C/\+$// to save a backslash. Very highlyjlam1-2/+2
recommended by seb :)
2004-01-04Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.jlam1-9/+6
2004-01-03Initial sprinkling of work-in-progress buildlink3.mk files for using thejlam1-0/+19
buildlink3 framework.
2003-10-03Forgot in previous.salo1-2/+2
Depend on version 6b or newer.
2003-10-03PKGREVISION++salo2-11/+27
Install documentation. Style nits, while here. Addresses PR pkg/23046 by Ben Collver.
2003-09-05Use "ftp.fu-berlin.de" as primary master site because "ftp.uu.net" seemstron1-2/+3
to cause problems for some people, see PR pkg/22679 and PR pkg/22696.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-18When constructing the WRKSRC definition, use ${PKGNAME_NOREV} rather thanagc1-2/+2
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent PKGREVISION changes. With thanks to jmc for the nudge.
2003-02-22Override config.{guess,sub} so that we build on platforms such as CATS.skrll1-1/+3
This is needed now as LTCONFIG_OVERRIDE was changed to LIBTOOL_OVERRIDE.
2003-02-18LTCONFIG_OVERRIDE->LIBTOOL_OVERRIDEsalo1-2/+2
Addresses PR pkg/20402 by Stephen Degler.
2002-10-09Unused.wiz1-37/+0
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam2-2/+24
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-07-27Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the defaultjlam1-1/+2
installation directory in case the package isn't installed.