Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71122 - Patch to add lossless cropping support to jpegtran
Summary: Patch to add lossless cropping support to jpegtran
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Graphics Project
URL: http://sylvana.net/jpegcrop/jpegtran/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 22:53 UTC by Benjamin
Modified: 2005-09-06 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
croppatch patch with man page (crop.patch,72.29 KB, patch)
2005-07-22 20:48 UTC, Karl Tomlinson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin 2004-11-13 22:53:42 UTC
There is a patch available at http://sylvana.net/jpegcrop/croppatch.tar.gz, which adds support for lossless cropping to jpegtran. 

The tarball just needs to be extracted in the jpeg-6b directory, and the new options will be available after compilation and install.

Reproducible: Always
Steps to Reproduce:
1. tar zxvf jpegsrc.v6b.tar.gz
2. cd jpeg-6b
3. tar zxvf croppatch.tar.gz
4. ./configure && make as per current ebuild.
Comment 1 Nir Dremer 2005-05-01 06:35:37 UTC
I join the request to add it to the official ebuild.
Comment 2 Karl Tomlinson 2005-07-22 20:48:04 UTC
Created attachment 64104 [details, diff]
croppatch patch with man page

This is http://sylvana.net/jpegcrop/croppatch.tar.gz, together with a
corresponding update to the man page borrowed from Debian, in a form suitable
for epatch.

Lossless cropping has been available in jpegtran in Debian for years, so I
think it is safe to include it in Gentoo now.

Note that http://sylvana.net/jpegcrop/croppatch.tar.gz includes a touch up to
the exif format so that

  jpegtran -copy all -progressive 

now gives the same result as

  jhead -cmd 'jpegtran -progressive &i > &o'
Comment 3 SpanKY gentoo-dev 2005-09-06 15:37:58 UTC
fixed in jpeg-6b-r6