{"id":48607798,"url":"https://github.com/bri3d/mcm2img","last_synced_at":"2026-04-09T00:12:34.371Z","repository":{"id":42048988,"uuid":"474836493","full_name":"bri3d/mcm2img","owner":"bri3d","description":"Convert Maxim MAX7456 MCM OSD fonts to images","archived":false,"fork":false,"pushed_at":"2023-06-08T03:31:55.000Z","size":12,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-10-03T05:13:06.524Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bri3d.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,"governance":null}},"created_at":"2022-03-28T03:49:59.000Z","updated_at":"2023-08-02T12:45:57.000Z","dependencies_parsed_at":"2023-09-24T07:04:39.339Z","dependency_job_id":null,"html_url":"https://github.com/bri3d/mcm2img","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/bri3d/mcm2img","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bri3d%2Fmcm2img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bri3d%2Fmcm2img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bri3d%2Fmcm2img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bri3d%2Fmcm2img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bri3d","download_url":"https://codeload.github.com/bri3d/mcm2img/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bri3d%2Fmcm2img/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-04-09T00:12:33.550Z","updated_at":"2026-04-09T00:12:34.364Z","avatar_url":"https://github.com/bri3d.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCM2IMG\n\nConverts Maxim analog video overlay (for example, Betaflight and iNAV OSD) fonts to desired image format.\n\nThe Maxim format is documented here: https://www.maximintegrated.com/en/design/technical-documents/app-notes/4/4117.html\n\nUseful for: previewing fonts, converting fonts for use in other applications, etc.\n\n# Usage\n\n    python3 mcm2img.py mcmfile.mcm font.bin [rawfmt] [R] [G] [B]\n\nExample:\n\n    python3 mcm2img.py betaflight.mcm font.bin RGBA 0 255 0` for green font colour\n\nmcmfile.mcm file can found in the Configurator for your flight controller of choice.\n\nFor Betaflight, this is at `betaflight-configurator*\\resources\\osd\\1`\n\n\nIf rawfmt is specified, it's one of the (many) raw bitmap formats supported by Pillow: https://github.com/python-pillow/Pillow/blob/main/src/libImaging/Unpack.c#L1483 . RGBA is probably the most common thing you will want here.\n\n# Docker\n\nThe docker container will automatically convert all .mcm fonts found in `/app/fonts` with mcm2img.py\n\n## Volumes\n| Volume | Path       |\n|:-------|-----------:|\n| fonts  | /app/fonts |\n\n## Environment variables\n| Variable | Comment                                           | Default     |\n|:---------|---------------------------------------------------|------------:|\n| RGB      | Used to override the colour of the converted font | 255 255 255 |\n\n\n## Building\n\nTo build the docker image locally please use the following command:\n\n    docker build . -t mcm2img:latest\n\n## Running\nCopy the font files (.mcm only) somewhere and execute the following command:\n\n    docker run -v ${PWD}/fonts:/app/fonts -it mcm2img:latest","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbri3d%2Fmcm2img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbri3d%2Fmcm2img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbri3d%2Fmcm2img/lists"}