GithubHelp home page GithubHelp logo

hfiguiere / lrcat-extractor Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 6.0 116 KB

Parse Lightroom™ 4/6 catalogs

License: Mozilla Public License 2.0

Rust 100.00%
photography photo macos lightroom lightroom-export rust-crate rust

lrcat-extractor's Introduction

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 build

The 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 <[email protected]>

lrcat-extractor's People

Contributors

hfiguiere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lrcat-extractor's Issues

AgLibraryFaceData - what format

Hi

I'm investigating the use of the AgLibraryFaceData blob which apparently as you write should be JP2.
I try to extract the data blob and view or analyze it. Unfortunately, it was not possible to view the data.
Now I realized that I used the newest Lightroom Classic CC version and not Lightroom 6.

Do you have any other insight into the new data type?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.