Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hfiguiere/lrcat-extractor
Parse Lightroom™ 4/6 catalogs
https://github.com/hfiguiere/lrcat-extractor
lightroom lightroom-export macos photo photography rust rust-crate
Last synced: about 1 month ago
JSON representation
Parse Lightroom™ 4/6 catalogs
- Host: GitHub
- URL: https://github.com/hfiguiere/lrcat-extractor
- Owner: hfiguiere
- License: mpl-2.0
- Created: 2017-10-12T03:12:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T23:44:03.000Z (7 months ago)
- Last Synced: 2024-11-10T00:51:38.824Z (about 2 months ago)
- Topics: lightroom, lightroom-export, macos, photo, photography, rust, rust-crate
- Language: Rust
- Homepage:
- Size: 113 KB
- Stars: 22
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
lrcat extractor
===============Extract the data from Adobe Lightroom catalogs (currently version 2, 4
and 6) in order to facilitate importing it into another application.This is written in Rust.
Requires:
- Rust (1.29)
- cargo to buildThe is a crate (library) meant to be used by other applications. Its
goal is to abstract the format away into an API that can be used to
import into an application.Building
--------This is meant to be used by another application, so you need to add
to your `Cargo.toml` the crate:`lrcat-extractor = 0.2.0`
To build the crate, simply:
$ cargo build
The crate comes with a dumper utility, that's used mostly for
debugging. It is hidden behind a "feature".$ cargo run --features=binaries
Using
-----```Rust
let mut catalog = Catalog::new(&path_to_catalog);
if catalog.open() {
// check the catalog is the right version
if !catalog.catalog_version.is_supported() {
println!("Unsupported catalog version");
return;
}
}
```See the documentation hosted at https://docs.rs/lrcat-extractor/
You can also use `cargo doc` to generate it locally.
License
-------This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.See the LICENSE file in this repository.
Maintainer:
Hubert Figuière