{"id":50368426,"url":"https://github.com/weaming/x3-dng-pipeline","last_synced_at":"2026-05-30T05:30:32.814Z","repository":{"id":325130785,"uuid":"1099961605","full_name":"weaming/x3-dng-pipeline","owner":"weaming","description":"Apply DCP generated by color checker, and export .heif format lossless compressed","archived":false,"fork":false,"pushed_at":"2025-11-19T17:06:35.000Z","size":1242,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-19T18:24:17.672Z","etag":null,"topics":["colorchecker","digitalfilm","dng","foveon","heic","heif","sigma","x3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weaming.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-19T16:55:12.000Z","updated_at":"2025-11-19T17:06:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/weaming/x3-dng-pipeline","commit_stats":null,"previous_names":["weaming/x3-dng-pipeline"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/weaming/x3-dng-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fx3-dng-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fx3-dng-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fx3-dng-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fx3-dng-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaming","download_url":"https://codeload.github.com/weaming/x3-dng-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fx3-dng-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33681809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["colorchecker","digitalfilm","dng","foveon","heic","heif","sigma","x3"],"created_at":"2026-05-30T05:30:31.574Z","updated_at":"2026-05-30T05:30:32.801Z","avatar_url":"https://github.com/weaming.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X3F 色卡校正工具\n\n使用 ColorChecker Passport Photo 2 色卡对 Sigma X3F RAW 文件进行色彩校正。\n\n1. 使用 [weaming/x3f-go](https://github.com/weaming/x3f-go) 导出 DNG\n2. `python3 apply_dcp.py -i path/to/dng/file/or/directory`\n\n```\nusage: apply_dcp.py [-h] [-i DNG] [--xml XML] [--output OUTPUT] [-o HDR_OUTPUT] [-q QUALITY] [--max-nits MAX_NITS] [--hdr-threshold HDR_THRESHOLD]\n\nDCP 应用工具 - 处理已预处理的 DNG 并应用色彩风格\n\noptions:\n  -h, --help            show this help message and exit\n  -i, --dng DNG         输入 DNG 文件或目录路径\n  --xml XML             输入 DCP XML 配置文件路径\n  --output OUTPUT       输出 JPG 文件路径\n  -o, --hdr-output HDR_OUTPUT\n                        输出 HDR HEIF 文件路径\n  -q, --quality QUALITY\n                        JPG 输出质量 (0-100)\n  --max-nits MAX_NITS   HDR 峰值亮度（尼特）\n  --hdr-threshold HDR_THRESHOLD\n                        超过多少亮度的像素开始被视为高光\n\n处理说明：\n  此脚本专为由 x3f-go 导出的 DNG 设计，这些 DNG：\n  - 已转换为线性 sRGB 色彩空间\n  - 已应用白平衡增益\n\n  脚本会读取 DNG 的线性 sRGB 数据，\n  应用 DCP 中的校色数据（HueSatDeltas LUT 和 Tone Curve），\n  然后应用 sRGB Gamma 校正输出 JPEG，\n  或者转化为 BT2020+PQ 输出 HEIF。\n\n  --dng 参数支持文件或目录：\n    文件：处理单个 DNG 文件\n    目录：处理目录下所有 DNG 文件（仅一级）\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaming%2Fx3-dng-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaming%2Fx3-dng-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaming%2Fx3-dng-pipeline/lists"}