First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 38503
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Snare <ajs@pigpond.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
jpeg-6b-r4.ebuild Revised ebuild for jpeg-6b text/plain Andrew Snare 2004-01-17 05:50 0000 1.38 KB Details
jpeg-6b-exif.patch Patch for jpeg-6b jpegtran utility patch Andrew Snare 2004-01-17 05:52 0000 6.26 KB Details | Diff
jpegexiforient.c Code for jpegexiforient utility for querying and setting EXIF orientation tags text/plain Andrew Snare 2004-01-17 05:53 0000 7.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 38503 depends on: Show dependency tree
Show dependency graph
Bug 38503 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Andrew Snare 2004-01-17 05:50:36 0000 -------
Created an attachment (id=23967) [edit]
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

------- Comment #2 From Andrew Snare 2004-01-17 05:52:28 0000 -------
Created an attachment (id=23968) [edit]
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.

------- Comment #3 From Andrew Snare 2004-01-17 05:53:48 0000 -------
Created an attachment (id=23969) [edit]
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.

------- Comment #4 From Jakub Moc 2005-07-27 15:57:43 0000 -------
What's the status here? This bug is 1 1/2 year old...

------- Comment #5 From SpanKY 2005-09-06 15:37:35 0000 -------
fixed in jpeg-6b-r6

First Last Prev Next    No search results available      Search page      Enter new bug