{"id":20448491,"url":"https://github.com/shadawck/lrjson","last_synced_at":"2025-04-13T01:26:54.422Z","repository":{"id":41147743,"uuid":"284237980","full_name":"shadawck/lrjson","owner":"shadawck","description":"Transform Lightroom standard file (like lrtemplate or xmp) into manipulable json file","archived":false,"fork":false,"pushed_at":"2020-08-03T12:32:22.000Z","size":16,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T19:12:11.051Z","etag":null,"topics":["adobe","batch-processing","export","filter","json","lightroom","lrtemplate","photo","preset"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shadawck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-01T10:27:01.000Z","updated_at":"2024-12-30T08:10:29.000Z","dependencies_parsed_at":"2022-09-09T06:50:08.410Z","dependency_job_id":null,"html_url":"https://github.com/shadawck/lrjson","commit_stats":null,"previous_names":["remiflavien1/lrjson"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Flrjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Flrjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Flrjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadawck%2Flrjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadawck","download_url":"https://codeload.github.com/shadawck/lrjson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248652468,"owners_count":21140019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["adobe","batch-processing","export","filter","json","lightroom","lrtemplate","photo","preset"],"created_at":"2024-11-15T10:35:21.989Z","updated_at":"2025-04-13T01:26:54.367Z","avatar_url":"https://github.com/shadawck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LRJson\n\nConvert Lightroom Template file (.ltemplate) into manipulable JSON file\n\n### Install\n\nYou can install LRJson either via pip (PyPI) or from source. To install using pip:\n```sh\npython3 -m pip install lrjson\n```\n\nOr manually:\n```sh\ngit clone https://github.com/remiflavien1/lrjson\ncd lrjson\npython3 setup.py install\n```\n\n### CLI\n\nRealy simple CLI :   \nTake a `Lightroom Template (.lrtemplate)` file and convert it into `JSON` file :\n```sh\n$ lrson myfilter.lrtemplate\nFile converted with Success\n```\n\nYou can print output with `-p|--print` flag :\n```\n$ lrson myfilter.lrtemplate -p\n{\n    \"id\": \"A76FFDE6-31E0-4FF6-AD4E-FF6F9EE930E9\",\n    \"internalName\": \"mytemplate\",\n    \"title\": \"myTemplate\",\n    \"type\": \"Develop\",\n    \"value\": {\n        \"settings\": {\n            \"Blacks2012\": 40,\n            \"Clarity2012\": 18,\n            \"ColorNoiseReduction\": 5,\n            \"ColorNoiseReductionDetail\": 50,\n            \"ColorNoiseReductionSmoothness\": 50,\n            \"Contrast2012\": 49,\n            \"HueAdjustmentRed\": 9,\n            \"HueAdjustmentYellow\": -89,\n            \"LuminanceAdjustmentAqua\": -50,\n            \"LuminanceAdjustmentBlue\": 34,\n            \"LuminanceAdjustmentGreen\": 5,\n            \"LuminanceAdjustmentMagenta\": 1,\n            \"LuminanceAdjustmentOrange\": -1,\n            \"LuminanceAdjustmentPurple\": 40,\n            \"LuminanceAdjustmentRed\": 0,\n            \"LuminanceAdjustmentYellow\": 37,\n            \"LuminanceNoiseReductionContrast\": 0,\n            \"LuminanceNoiseReductionDetail\": 50,\n            \"LuminanceSmoothing\": 0,\n            \"ParametricDarks\": 0,\n            \"ParametricHighlightSplit\": 48,\n            \"ParametricHighlights\": 0,\n            \"ParametricLights\": 0,\n            \"Tint\": 33,\n            \"ToneCurveName2012\": \"Custom\",\n            \"ToneCurvePV2012\": [\n                14,\n                25,\n                94,\n                112,\n                198,\n                170,\n                255\n            ],\n            \"ToneCurvePV2012Blue\": [\n                0,\n                0,\n                255\n            ],\n            \"ToneCurvePV2012Green\": [\n                0,\n                0,\n                255\n            ],\n            \"ToneCurvePV2012Red\": [\n                0,\n                0,\n                255\n            ],\n            \"Vibrance\": 1,\n            \"WhiteBalance\": \"Custom\",\n            \"Whites2012\": 55,\n            \"orientation\": \"AB\"\n        },\n        \"uuid\": \"28ACD78F-6C28-4A38-B09E-A62718A4C073\"\n    },\n    \"version\": 0\n}\n```\n\n## API\nThere is only one function.    \nJust import it and use it.\n\n```python\n\u003e\u003e\u003e from lrjson import convert_lr_to_json as cvj\n\u003e\u003e\u003e cvj.convert(\"myFilter.lrtemplate\",\"output.json\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadawck%2Flrjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadawck%2Flrjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadawck%2Flrjson/lists"}