Bug 38503 - jpegtran, included in the jpeg-6b ebuilds, kills EXIF data
|
Bug#:
38503
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: graphics@gentoo.org
|
Reported By: ajs@pigpond.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: jpegtran, included in the jpeg-6b ebuilds, kills EXIF data
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-01-17 05:33 0000
|
The jpegtran utility is used to perform lossless transformations of JPEG files.
Many digital cameras now include EXIF data in the JPEG files they create.
Unfortunately the jpegtran utility does not preserve the location of the EXIF
data, which causes some applications (apparently) to fail.
This problem, and an appropriate fix, is described in further detail at
<http://sylvana.net/jpegcrop/exifpatch.html>.
I've modified the ebuild to apply that patch given at that page. In addition,
I've altered it to build the 'jpegexiforient' program also supplied at that
page. This allows for querying and setting the EXIF orientation tag, useful for
auto-rotating images captured from cameras which set this tag.
I'll attach the ebuild files to subsequent comments since the initial bugreport
form doesn't allow attachments.
Cheers,
- Andrew
Created an attachment (id=23967) [details]
Revised ebuild for jpeg-6b
This is the revised ebuild for jpeg-6b. It applies a patch for jpegtran, and
also ensures the jpegexiforient utility is built.
- Andrew
Created an attachment (id=23968) [details]
Patch for jpeg-6b jpegtran utility
This patch should be dropped into the files/ directory for the ebuild to ensure
it gets applied. It alters jpegtran such that if the input file has EXIF data,
the output file will have the EXIF data in the correct location within the
file.
Created an attachment (id=23969) [details]
Code for jpegexiforient utility for querying and setting EXIF orientation tags
This file should be dropped in the files/ directory for the ebuild. It will
then be copied into the source directory and compiled/installed as is
appropriate.
What's the status here? This bug is 1 1/2 year old...