Giter VIP home page Giter VIP logo

afp2xmp's Introduction

afp2xmp.py

Convert from Corel AfterShot Pro XMP to standard XMP.

Usage

usage: afp2xmp.py [-h] [-o OUTPUT] [-p] [-r] input [input ...]

Convert from Corel AfterShot Pro XMP to standard XMP.

positional arguments:
  input                 The AfterShot Pro XMP files to read or, with the -r argument,
                        the directories to traverse.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        File to write result to. If not set, rewrite the input file.
                            Some markers are substituted:
                            {d}: The input file directory
                            {f}: The full input file name
                            {o}: The original image file name
                            {n}: The original image file name without extension
                            {e}: The original image file extension
                            The .xmp extension is added if not present.
  -p, --preserve        Preserve the output file's timestamps.
  -r, --recursive       Operate over all files in input directory and subdirectories.
  -w, --overwrite       Overwrite standard XMP fields even if alredy present.

Examples

afp2xmp.py dsc09999.raw.xmp

Add standard XMP data into dsc09999.raw.xmp.

afp2xmp.py -p -w dsc09999.raw.xmp

The same, but preserve the file timestamps and overwrite any already existing standard XMP field.

afp2xmp.py -o {e} dsc09999.raw.xmp

Extract the XMP data to dsc09999.xmp.

afp2xmp.py -r /home/photog/RAW/

Add standard XMP data to all XMP files in /home/photog/RAW and its subdirectories.

afp2xmp.py -r -o {d}/xmps/{f} /home/photog/RAW/

Extract the data from all XMP files in /home/photog/RAW and its subdirectories into XMP files in /home/photog/RAW/xmps/, keeping the subdirectory structure and file names.

afp2xmp's People

Contributors

marcoil avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.