{"id":20934419,"url":"https://github.com/adambala/speech-bubble-it","last_synced_at":"2025-04-11T14:14:46.172Z","repository":{"id":216846813,"uuid":"742501628","full_name":"adambala/speech-bubble-it","owner":"adambala","description":"Python script that puts a speech bubble on an image. Runs through the command line.","archived":false,"fork":false,"pushed_at":"2024-01-28T22:16:17.000Z","size":2546,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T10:22:09.910Z","etag":null,"topics":["image","images","meme","memes","pillow","python","python-script","python3","speech-bubble"],"latest_commit_sha":null,"homepage":"","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/adambala.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}},"created_at":"2024-01-12T16:11:06.000Z","updated_at":"2024-07-03T13:24:08.000Z","dependencies_parsed_at":"2024-01-13T07:46:55.829Z","dependency_job_id":"2f1daa2d-1e73-452b-8d5e-7a7ae1d0e64a","html_url":"https://github.com/adambala/speech-bubble-it","commit_stats":null,"previous_names":["adambala/speech-bubble-it"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambala%2Fspeech-bubble-it","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambala%2Fspeech-bubble-it/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambala%2Fspeech-bubble-it/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adambala%2Fspeech-bubble-it/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adambala","download_url":"https://codeload.github.com/adambala/speech-bubble-it/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248415571,"owners_count":21099699,"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":["image","images","meme","memes","pillow","python","python-script","python3","speech-bubble"],"created_at":"2024-11-18T22:09:20.445Z","updated_at":"2025-04-11T14:14:46.145Z","avatar_url":"https://github.com/adambala.png","language":"Python","readme":"# Speech Bubble It\r\nSpeech Bubble It is a Python script that puts a speech bubble on an image.\r\n\r\n## About\r\nOnline communication is accompanied by various jokes in the form of images (mostly memes). These also include speech bubbles.\r\n\r\nThe point of such images is that the sender presents the user in a chat as a character or a thing that speaks its message in a speech bubble.\r\n\r\n## Example\r\n./input/input.jpg                                                                    |./output/output.png\r\n:-----------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------:\r\n![](https://github.com/adambala/speech-bubble-it/blob/main/input/input.jpg?raw=true) |![](https://github.com/adambala/speech-bubble-it/blob/main/output/output.png?raw=true)\r\n\r\n```sh\r\npython speech_bubble_it.py .\\input\\input.jpg .\\output\\output.png\r\n```\r\n\r\n## Instructions\r\nThis script does not require large resources to create an image with a speech bubble. It requires `Python 3.10` or above and these dependencies:\r\n- Pillow\r\n\r\nYou can install them by running `pip install -r requirements.txt` \r\n\r\nSpeech Bubble It can be used from the command line:\r\n```sh\r\npython speech_bubble_it.py \u003cimage_file\u003e \u003coutput_file\u003e\r\n```\r\n\r\nwhere\r\n- `\u003cimage_file\u003e` is the path to an image you want to put speech bubble on;\r\n- `\u003coutput_file\u003e` is the path to the file where the result will be written to.\r\n\r\nThe script supports such image formats as `.png`, `.jpg`, `.jpeg`, `.gif`, `.bmp`, `.webp` and `.tiff`.\r\n\r\n## Optional arguments\r\nYou can transform your speech bubble by these flags:\r\n- `-h`, `--help` — help information;\r\n- `-m`, `--mirror` — flips speech bubble horizontally;\r\n- `-o`, `--orientation` — changes speech bubble orientation (1: on the top; 2: on the left; 3: on the bottom; 4: on the right).\r\n\r\n## Contributions\r\nThis repository is open for contributing. So feel free to open issues and make pull requests.\r\n\r\n## TODO\r\n- [ ] The support of images from web\r\n- [ ] The support of GIF animations\r\n- [ ] Vector image of the speech bubble instead of `.png`\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambala%2Fspeech-bubble-it","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadambala%2Fspeech-bubble-it","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadambala%2Fspeech-bubble-it/lists"}