{"id":18104198,"url":"https://github.com/jeena/heic2jpeg","last_synced_at":"2025-04-06T06:14:35.721Z","repository":{"id":50662841,"uuid":"519753346","full_name":"jeena/heic2jpeg","owner":"jeena","description":"Transforms HEIC to JPEG, preserves EXIF and fixes orientation","archived":false,"fork":false,"pushed_at":"2022-10-22T04:11:10.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T11:35:56.650Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeena.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}},"created_at":"2022-07-31T11:12:16.000Z","updated_at":"2022-08-02T10:25:31.000Z","dependencies_parsed_at":"2023-01-20T08:02:15.451Z","dependency_job_id":null,"html_url":"https://github.com/jeena/heic2jpeg","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/jeena%2Fheic2jpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeena%2Fheic2jpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeena%2Fheic2jpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeena%2Fheic2jpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeena","download_url":"https://codeload.github.com/jeena/heic2jpeg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441063,"owners_count":20939239,"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":[],"created_at":"2024-10-31T22:14:11.419Z","updated_at":"2025-04-06T06:14:35.704Z","avatar_url":"https://github.com/jeena.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"heic2jpeg\n=========\n\nThis script solves the problem that none of the browsers can show Apples HEIC pictures, many online services like Flickr don't allow their upload and it's also dificult to show them on the TV.\n\nThe solution is to transcode them into JPEG, but none of the tools available would copy all the EXIF data like \"Date taken\" or \"Orientation\" so that it is impossible to sort them and there is a lot of manual work involved to rotate them manually afterwards.\n\nThis script tries to copy as much metadata as necessary to avoid all the manual work.\n\nInstallation\n------------\n\n    git clone https://github.com/jeena/heic2jpeg.git\n    sudo pacman -S perl-image-exiftool\n    pipenv install\n    pipenv shell\n\nUsage\n-----\n\n    ./heic2jpeg.py original.heic\n    \nIt will save the picture in the same directory, with the same name but as a JPEG and the ending `.jpg`.\n\n    ./heic2date.py original.heic\n\nThis will get the date out of your .HEIC EXIF data and rename the file into IMG_YYYYMMDD_HHMMSS.heic\n\n    ./mov2date.py original.mov\n\nThis will get the date out of your .mov file and rename the file into IMG_YYYYMMDD_HHMMSS.mov\n\nYou can automate it to do it for every specific file in a directory like this:\n\n    find . -iname \"*.HEIC\" -exec ~/Projects/heic2jpeg/heic2date.py {} \\;\n\nLicense\n-------\n\nGPL v3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeena%2Fheic2jpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeena%2Fheic2jpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeena%2Fheic2jpeg/lists"}