{"id":17093375,"url":"https://github.com/crowsonkb/synthraw","last_synced_at":"2026-04-13T23:33:51.228Z","repository":{"id":70779119,"uuid":"147593846","full_name":"crowsonkb/synthraw","owner":"crowsonkb","description":"Synthesizes camera raw files","archived":false,"fork":false,"pushed_at":"2018-09-18T15:06:37.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T22:44:25.311Z","etag":null,"topics":["camera-raw","photography"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crowsonkb.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2018-09-06T00:13:20.000Z","updated_at":"2025-01-01T15:36:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbe287c6-ba91-4743-b7eb-52bea51da5b5","html_url":"https://github.com/crowsonkb/synthraw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowsonkb%2Fsynthraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowsonkb%2Fsynthraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowsonkb%2Fsynthraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crowsonkb%2Fsynthraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crowsonkb","download_url":"https://codeload.github.com/crowsonkb/synthraw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245135894,"owners_count":20566581,"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":["camera-raw","photography"],"created_at":"2024-10-14T14:06:34.967Z","updated_at":"2026-04-13T23:33:46.193Z","avatar_url":"https://github.com/crowsonkb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"synthraw\n========\n\nSynthesizes camera raw files (`DNG \u003chttps://helpx.adobe.com/photoshop/digital-negative.html\u003e`_ format) using Python. Requires `libtiff \u003chttp://www.libtiff.org\u003e`_.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n   pip3 install numpy pillow\n   python3 setup.py install\n\nUsage\n-----\n\nFrom the command line:\n\n.. code-block:: bash\n\n   synthraw in.png out.dng\n\nFrom Python:\n\n.. code-block:: python\n\n   import numpy as np\n   from synthraw import DNG\n\n   # Create a 32x32 pixel array\n   data = np.zeros((32, 32), dtype=np.uint16)\n   # Set one pixel to white\n   data[1, 1] = 65535\n   dng = DNG('out.dng')\n   dng.write_data(data)\n   dng.close()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrowsonkb%2Fsynthraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrowsonkb%2Fsynthraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrowsonkb%2Fsynthraw/lists"}