prophoto-to-display-p3

command module
v0.0.0-...-0c5222b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 9 Imported by: 0

README

ProPhoto to Display P3

Convert from ProPhoto to Display P3.

ProPhoto is exported from RAW file, and Display P3 is used widely around the world.

Usage

mkdir $HOME/icc
curl https://raw.githubusercontent.com/weaming/prophoto-to-display-p3/main/DisplayP3.icc > ~/icc/DisplayP3.icc
go install github.com/weaming/prophoto-to-display-p3@latest

Embed icc into output jpeg

First, you need a valid ICC profile to write into the file. You can extract it from any other image containing a profile with a command like this:

exiftool -icc_profile -b src.jpg > profile.icc

Then this command writes the profile to "dest.jpg":

exiftool "-icc_profile<=profile.icc" dest.jpg

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL