| Summary: | Add "magic" definition for Canon CR2 RAW format | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kevin <kmg952> | |
| Component: | file | Assignee: | Jan Kaluža <jkaluza> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5 | CC: | jkaluza | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | file-5.04-17.fc14 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 709846 (view as bug list) | Environment: | ||
| Last Closed: | 2011-06-11 04:18:53 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
Should add that http://lclevy.free.fr/cr2/#key_info contains a bit of an explanation of the file format. What version of File package do you use please? This format detection is already supported and works for me. $ file -v file-5.04 magic file from /usr/share/misc/magic $ file -m /usr/share/misc/magic.orig IMG_00092.CR2 IMG_0092.CR2: TIFF image data, little-endian I've updated the system magic file, hence the "-m". So, with my patch: $ file IMG_00092.CR2 IMG_0092.CR2: Canon CR2 RAW image data, little-endian BTW: Because of the similarity of the magic data, the CR2 definition must precede the TIFF definition. file-5.04-17.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/file-5.04-17.fc14 Package file-5.04-17.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing file-5.04-17.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/file-5.04-17.fc14 then log in and leave karma (feedback). Just installed and "yum update'd" F15 - works like a charm. Thanks to all involved. file-5.04-17.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Add entry to the magic file for Canon's RAW image format (*.cr2) Version-Release number of selected component (if applicable): n/a How reproducible: n/a Steps to Reproduce: n/a Actual results: n/a Expected results: n/a Additional info: See following "diff" report diff /usr/share/misc/magic magic 8144a8145,8146 > 0 string II\x2a\x00\x10\x00\x00\x00CR\x02\x00 Canon CR2 RAW image data, little-endian > !:mime image/tiff