{"id":16643284,"url":"https://github.com/hfiguiere/libopenraw","last_synced_at":"2025-04-07T13:07:01.584Z","repository":{"id":3105317,"uuid":"4131292","full_name":"hfiguiere/libopenraw","owner":"hfiguiere","description":"libopenraw: RAW file parsing and processing library (mirror and WiP)","archived":false,"fork":false,"pushed_at":"2025-03-21T02:52:12.000Z","size":3842,"stargazers_count":66,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-31T11:06:36.520Z","etag":null,"topics":["digital-camera","image-processing","photo","photography","raw"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hfiguiere.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-25T00:26:38.000Z","updated_at":"2025-03-21T02:52:17.000Z","dependencies_parsed_at":"2025-02-21T05:11:03.548Z","dependency_job_id":"2a42b2be-8bc8-41b2-b901-a538bfedef67","html_url":"https://github.com/hfiguiere/libopenraw","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfiguiere%2Flibopenraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfiguiere%2Flibopenraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfiguiere%2Flibopenraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfiguiere%2Flibopenraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hfiguiere","download_url":"https://codeload.github.com/hfiguiere/libopenraw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["digital-camera","image-processing","photo","photography","raw"],"created_at":"2024-10-12T08:08:03.415Z","updated_at":"2025-04-07T13:07:01.564Z","avatar_url":"https://github.com/hfiguiere.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Copyright\n=========\n\nlibopenraw is Copyright (c) 2005-2024 Hubert Figuière and\nother contributors. See the respective files.\nIt is licensed under LGPLv3 or later. See files COPYING\nand COPYING.LESSER\n\nCode below src/mp4/parse is released under MPL-2.0 license. See the\nMPL-2.0 file.  It is a modified version of\nhttps://github.com/mozilla/mp4parse-rust\n\nSome files may be individually licensed under LGPL-2.1-or-later. See\nthe SPDX license info built-in.\n\nCode of Conduct:\n================\n\nContributors to this project agree to the Freedesktop.org Code of\nConduct:\n\n  https://www.freedesktop.org/wiki/CodeOfConduct/\n\nPrerequistes to build:\n======================\n\n    - a C++ 11 compiler (tested on gcc 4.7 and up)\n    - libboost 1.33.1 (Boost.String, Boost.Test, Boost.Variant)\n    - libjpeg\n    - libxml \u003e 2.5.0 (for the test suite)\n    - libcurl (option for the test suite bootstrap)\n    - Rust 1.64\n\nIf building from the git tree you also need:\n\n    - automake/autoconf\n    - autoconf-archive\n    - pkg-config for the associated m4 macros\n\nOptional Gnome support\n\n    - gdkpixbuf\n\n## Rust crate\n\nStarting with 0.4.0, libopenraw is developed as a Rust native crate\nwith a C API. There the standard layout for a Rust crate applies, and\n`lib/` contains the crate part to build the dynamic library for the C\nAPI.\n\nSupported file formats\n======================\n\nHere are the supported file formats. For details per-camera, see\nbelow:\n\n    - Canon CR2\n    - Canon CR3\n    - Canon CRW (not those coming from CHDK firmware like A610)\n    - Nikon NEF and NRW\n    - Olympus ORF\n    - Pentax PEF\n    - Epson ERF\n    - DNG\n    - GoPro GPR\n    - Sony ARW and SR2\n    - Minolta MRW\n    - Panasonic RAW and RW2\n    - Fujifilm RAF\n\nHow to build:\n=============\n\n  Using automake/autoconf:\n\n    $ ./autogen.sh\n    $ ./configure --prefix=...\n    $ make\n    $ make install DESTDIR=...\n\n\nSupported formats:\n==================\n\n  Y  Yes, it is there. (Untested as I do not have a sample but the format\n     is known to be similar) Yes, it is for the whole format.\n  N  Not supported.\n  B  Known to be Broken on some models. (Needs to be fixed. Further work\n     is required)\n  X  Not needed.\n  #  Sample file needed.\n```\n                          Thumbnail\n                         /  Raw bitstream\n                         | /  Raw decompression\n                         | | /  Orientation Tag\n                         | | | /  Bayer Type\n                         | | | | /  Type ID\n                         | | | | | /  Active Area (ROI)\n                         | | | | | | /  Color Matrices\n                         | | | | | | | /  Exif and MakerNotes\n                         | | | | | | | | /  Rendering\n                         | | | | | | | | | /  White Balance\n                         | | | | | | | | | | /  User crop\n                         | | | | | | | | | | | /\nCanon CR2                Y Y Y Y Y Y Y Y Y Y Y Y\nCanon CR3                Y Y N Y Y Y Y Y Y N N Y\nCanon CRW                Y Y Y Y Y Y Y Y Y B Y X\nCanon CRW CHDK           N N N N N N N N N N N N\n(unofficial firmware)\nNikon NEF                Y B B Y Y Y N Y Y B B Y\nNikon NRW                Y     Y   Y N Y Y B B Y\nOlympus ORF              Y Y Y Y Y Y N Y Y Y Y Y\nAdobe DNG                Y Y Y Y Y Y Y Y Y Y Y Y\nGoPro GPR                Y Y N Y Y Y Y Y X N Y Y\nSony SR2                 Y Y X Y N Y N Y Y Y   X\nSony ARW                 Y Y N Y N Y N Y Y     Y\nPentax PEF               Y Y Y Y Y Y N Y Y Y Y Y\nEpson ERF                Y Y X Y Y Y N Y Y Y Y X\nMinolta MRW              Y Y X N Y Y N Y Y Y Y X\nPanasonic RAW            Y Y X Y Y Y Y Y Y B Y Y\nPanasonic RW2            Y Y B Y Y Y Y Y Y Y Y Y\nFujiFilm RAF             Y Y Y Y Y Y Y Y Y B Y Y\n```\n\nUnsupported\n-----------\n```\nSony SRF                 N N N N N N N N\nKodak DCR                N N N N N N N N\nKodak KDC                N N N N N N N N\nFoveon X3F               N N N N N N N N\nMamiya MEF               N N N N N N N N\nSamsung SRW              N N N N N N N N\n```\n\nTest suite\n==========\n\nThere is a test suite driven by an XML file. It require you to provide\nyour own RAW files and configure it.  testsuite/testsuite.xml is an\nexample of valid XML configuration file that works on my local\nmachine.\n\nTODO2: provide a better description of the test file.\n\nTODO3: fix ordiag to allow outputting a test case in XML.\n\nRunning the testsuite\n---------------------\n\n$ make check\n\nThis will run it automatically.\n\nIf you need to bootstrap the testsuite, you can go as follow:\n\nWARNING: The bootstrap will download \"random\" files from the\ninternet. They currently aren't validated.\n\n$ make\n$ cd testsuite\n$ ./testsuite -b -d directory\n\nHere directory is the existing directory where files will be\ndownloded.  If you build in a different directory than the source\ndirectory, you need to set the `srcdir` environment to the path where\nthe testsuite binary is build.\n\n\nReferences\n==========\n\nMany online resources, including open source software were used (list\nnon exhaustive):\n\ndcraw was the first open source effort out there. We all owe its\nauthors and contributor a lot.\n\nCR3\n---\nMozilla MP4 Rust parser, that is being used:\n  https://github.com/mozilla/mp4parse-rust/\nLaurent Clevy CR3 documentation, provided lot of information:\n  https://github.com/lclevy/canon_cr3\n\nExif \u0026 MakerNote\n----------------\nExifTool is used to provide documentation and the tag table:\n  https://exiftool.org/\n  https://exiftool.org/makernote_types.html\nExiv2 knowledge:\n  https://www.exiv2.org/makernote.html\nlibexif:\n  https://libexif.github.io/\nexifprobe:\n  https://github.com/hfiguiere/exifprobe/\n\nContributors\n============\n\n- DorotaC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfiguiere%2Flibopenraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhfiguiere%2Flibopenraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfiguiere%2Flibopenraw/lists"}