Bug 106060
| Summary: | Add support for EXIF in jpegtran and rdjpgcom tools | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | diego.santacruz | ||||||
| Component: | libjpeg | Assignee: | Matthias Clasen <mclasen> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 9 | Keywords: | FutureFeature | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2005-03-07 04:09:49 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
diego.santacruz
2003-10-02 13:04:27 UTC
Created attachment 94878 [details]
Patch for basic EXIF support in jpegtran
This patch adds the requested features to jpegtran. It basically does:
1. Recognizes EXIF files as such and does not add an incompatible JFIF marker.
2. Upon a geometric transformation it adjusts the dimensions in the EXIF marker
to match the JPEG image dimensions.
3. Upon a geometric transformation it resets the EXIF orientation flag so that
the resulting JPEG image is considered to be in the upright position already.
4. Add the option '-copy exif' that allows to recover an EXIF file to which a
JFIF marker was incorrectly added.
The patch does not affect the library code, only the jpegtran code and
therefore it should not pose any compatibility problems.
Created attachment 94879 [details]
Patch to implement the requested rdjpeg features
This patch adds basic EXIF support to rdjpgcom: in -verbose mode it prints the
EXIF orientation, if any is found.
This, in conjunction to the patched jpegtran, allows to write scripts that
automatically orient images based on the EXIF orientation field (used by some
digital cameras for this very same purpose).
The patch does not modify any library code, so it should not present any
compatibility problems.
I have also reported these patches to the IJG at jpeg-info.net I believe that these features would best be done by packaging jhead for Fedora. |