{"id":18332135,"url":"https://github.com/oneoffcoder/arwjpg","last_synced_at":"2026-03-07T03:02:12.561Z","repository":{"id":106021338,"uuid":"182192171","full_name":"oneoffcoder/arwjpg","owner":"oneoffcoder","description":"Converts RAW files from Sony camera to JPG files","archived":false,"fork":false,"pushed_at":"2019-10-14T01:36:38.000Z","size":31,"stargazers_count":38,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T03:33:35.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oneoffcoder.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}},"created_at":"2019-04-19T03:00:38.000Z","updated_at":"2025-03-12T15:03:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"03bcde8e-da46-4c5b-bb7d-f59083f6a9cf","html_url":"https://github.com/oneoffcoder/arwjpg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oneoffcoder/arwjpg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneoffcoder%2Farwjpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneoffcoder%2Farwjpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneoffcoder%2Farwjpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneoffcoder%2Farwjpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oneoffcoder","download_url":"https://codeload.github.com/oneoffcoder/arwjpg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneoffcoder%2Farwjpg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"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":[],"created_at":"2024-11-05T19:37:34.813Z","updated_at":"2026-03-07T03:02:12.492Z","avatar_url":"https://github.com/oneoffcoder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![One-Off Coder Logo](/logo.png \"One-Off Coder\")\n\n# arwjpg\n\nA simple Python 3.6 script that converts RAW files from some Sony cameras (tested with Sony - Alpha a6300 Mirrorless Camera)  to JPG files. The RAW files should have the `ARW` file extension. This project borrowed key ideas from [Python Image Converter](https://github.com/Cyb3rN4u7/Python-Image-Converter). If all else fails, you should use Sony's [Imaging Edge](http://support.d-imaging.sony.co.jp/app/imagingedge/en/). Imaging Edge is a great software and will likely give you superior conversion quality, however, the conversion is rather slow (images are NOT converted in parallel). In any case, `DO NOT` throw away your RAW files just because you have converted them to JPG.\n\n# Conda environment creation\n\nTo use `arwjpg`, you should create a [Conda environment](https://anaconda.org/). Clone this repository and change directory `cd` into it. Then type in the following.\n\n```bash\nconda env create -f environment.yml\nconda activate arwjpg\n```\n\nIf you need to destroy the environment, type in the following.\n\n```bash\nconda remove --name arwjpg --all\n```\n\n# Usage\n\nTo use the `arwjpg.py` Python script, make sure you activate the `arwjpg` Conda environment as mentioned above. Then type in the following.\n\n```bash\npython arwjpg.py -s [source_dir] -t [target_dir]\n```\n\nNote that\n\n* `source_dir` is a directory containing `ARW` (RAW) files.\n* `target_dir` is the directory which `JPG` (JPEG) files will be placed.\n\nBy default, `ALL` your CPUs will be used to convert `ARW` files to `JPG` files! An example on Windows is given as follows.\n\n```bash\npython arwjpg.py -s C:/Users/super/Desktop/100MSDCF -t C:/Users/super/Desktop/JPG\n```\n\nHere is the full set of options.\n\n```bash\nusage: arwjpg.py [-h] -s SOURCE -t TARGET [-v VERBOSITY] [-e EXTENSION]\n                 [--use_camera_wb USE_CAMERA_WB] [--use_auto_wb USE_AUTO_WB]\n                 [--bright BRIGHT]\n                 [--median_filter_passes MEDIAN_FILTER_PASSES]\n                 [--noise_thr NOISE_THR] [--dcb_enhance DCB_ENHANCE]\n                 [--four_color_rgb FOUR_COLOR_RGB]\n                 [--demosaic_algorithm DEMOSAIC_ALGORITHM]\n                 [--fbdd_noise_reduction FBDD_NOISE_REDUCTION]\n                 [--output_color OUTPUT_COLOR] [--output_bps OUTPUT_BPS]\n\nConvert ARW to JPG\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -s SOURCE, --source SOURCE\n                        source directory\n  -t TARGET, --target TARGET\n                        target directory\n  -v VERBOSITY, --verbosity VERBOSITY\n                        verbosity\n  -e EXTENSION, --extension EXTENSION\n                        output extension; JPG or TIFF\n  --use_camera_wb USE_CAMERA_WB\n                        whether to use the as-shot white balance values\n  --use_auto_wb USE_AUTO_WB\n                        whether to try automatically calculating the white\n                        balance\n  --bright BRIGHT       brightness scaling\n  --median_filter_passes MEDIAN_FILTER_PASSES\n                        number of median filter passes after demosaicing to\n                        reduce color artifacts\n  --noise_thr NOISE_THR\n                        threshold for wavelet denoising (default disabled)\n  --dcb_enhance DCB_ENHANCE\n                        DCB interpolation with enhanced interpolated colors\n  --four_color_rgb FOUR_COLOR_RGB\n                        whether to use separate interpolations for two green\n                        channels\n  --demosaic_algorithm DEMOSAIC_ALGORITHM\n                        default is AHD; AAHD, AFD, AHD, AMAZE, DCB, DHT,\n                        LINEAR, LMMSE, MODIFIED_AHD, PPG, VCD,\n                        VCD_MODIFIED_AHD, VNG\n  --fbdd_noise_reduction FBDD_NOISE_REDUCTION\n                        controls FBDD noise reduction before demosaicing;\n                        Full, Light, Off\n  --output_color OUTPUT_COLOR\n                        output color space; Adobe, ProPhoto, Wide, XYZ, raw,\n                        sRGB\n  --output_bps OUTPUT_BPS\n                        8 or 16\n```\n\n# Citation\n\n```\n@misc{oneoffcoder_arwjpg_2019, \ntitle={arwjpg}, \nurl={https://github.com/oneoffcoder/arwjpg/}, \njournal={GitHub},\nauthor={One-Off Coder}, \nyear={2019}, \nmonth={Apr}}\n```\n\n# Copyright Stuff\n\n```\nCopyright 2019 One-Off Coder\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n# Contact\n\n[One-Off Coder](https://cloud.docker.com/u/oneoffcoder/) \n* [Website](https://www.oneoffcoder.com)\n* [Twitter](https://twitter.com/oneoffcoder)\n* [Facebook](https://www.facebook.com/oneoffcoder)\n* [YouTube](https://www.youtube.com/channel/UCCCv8Glpb2dq2mhUj5mcHCQ)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneoffcoder%2Farwjpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneoffcoder%2Farwjpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneoffcoder%2Farwjpg/lists"}