{"id":13501527,"url":"https://github.com/weclaw1/inbac","last_synced_at":"2026-01-16T08:31:18.827Z","repository":{"id":55401567,"uuid":"216493738","full_name":"weclaw1/inbac","owner":"weclaw1","description":"Python application for fast interactive image cropping","archived":false,"fork":false,"pushed_at":"2024-07-15T19:41:42.000Z","size":17640,"stargazers_count":330,"open_issues_count":14,"forks_count":36,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-27T18:24:28.454Z","etag":null,"topics":["cropping","image-manipulation","python3"],"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/weclaw1.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-10-21T06:30:20.000Z","updated_at":"2025-11-19T11:20:34.000Z","dependencies_parsed_at":"2024-01-07T17:11:01.098Z","dependency_job_id":"f97debd3-d67d-4c29-a980-22165f9ad1cd","html_url":"https://github.com/weclaw1/inbac","commit_stats":{"total_commits":88,"total_committers":5,"mean_commits":17.6,"dds":0.07954545454545459,"last_synced_commit":"8a0eada0d96dc659465c1c9b91f2642f1c87b0ae"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/weclaw1/inbac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weclaw1%2Finbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weclaw1%2Finbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weclaw1%2Finbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weclaw1%2Finbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weclaw1","download_url":"https://codeload.github.com/weclaw1/inbac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weclaw1%2Finbac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: 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":["cropping","image-manipulation","python3"],"created_at":"2024-07-31T22:01:40.581Z","updated_at":"2026-01-16T08:31:18.797Z","avatar_url":"https://github.com/weclaw1.png","language":"Python","funding_links":["https://liberapay.com/weclaw1/donate"],"categories":["Python"],"sub_categories":[],"readme":"# inbac\n[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/weclaw1/donate)\n\n![](https://raw.githubusercontent.com/weclaw1/inbac/master/resources/demo.gif)\n\n## Description\n\ninbac is an **in**teractive **ba**tch **c**ropper made for quick cropping of images.  \nI made this program because cropping thousands of images with image viewers or image manipulation programs was too slow.\n\n## Installation\n\nThe easiest way to use this application is to download the single file executable created with PyInstaller, which can be found on the releases page.\n\nIf you have python installed you can install with pip by typing:\n\n`pip install inbac`\n\nIf you want to use the current master branch you can clone the repository and run the project using poetry.\n\n## Development Requirements\n- [poetry](https://github.com/sdispater/poetry)\n- tkinter\n\nAfter installing above dependencies run `poetry install` in project directory to install remaining dependencies.\n\n## Examples\n\n`poetry run inbac /home/user/pictures/`  \nOpens images in /home/user/pictures/ and saves cropped images to /home/user/pictures/crops\n\n`poetry run inbac -a 1 1 -r 256 256 /home/user/pictures/ /home/user/crops/`  \nOpens images in /home/user/pictures/ in 1:1 ratio selection mode and saves images resized to 256x256px in /home/user/crops/ \n\n## Usage\n\n```\nusage: inbac [-h] [-a ASPECT_RATIO ASPECT_RATIO] [-r RESIZE RESIZE]\n             [-s SELECTION_BOX_COLOR] [-w WINDOW_SIZE WINDOW_SIZE]\n             [-f IMAGE_FORMAT] [-q IMAGE_QUALITY]\n             [input_dir] [output_dir]\n\ninbac - interactive batch cropper\n\nLeft Mouse Button                 - select part of image\n\nZ                                 - save selection and go to the next picture\n\nX                                 - save selection and stay on the same picture\n\nC                                 - rotate current image by 90 degrees\n\nHold Left Shift or Left Ctrl      - drag selection\n\nRight Arrow or Right Mouse Button - go to next picture\n\nLeft Arrow or Middle Mouse Button - go to previous picture\n\npositional arguments:\n  input_dir             input directory (defaults to current working\n                        directory)\n  output_dir            output directory (defaults to folder crops in input\n                        directory)\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -a ASPECT_RATIO ASPECT_RATIO, --aspect_ratio ASPECT_RATIO ASPECT_RATIO\n                        selection should have specified aspect ratio\n  -r RESIZE RESIZE, --resize RESIZE RESIZE\n                        cropped image will be resized to specified width and\n                        height\n  -s SELECTION_BOX_COLOR, --selection_box_color SELECTION_BOX_COLOR\n                        color of the selection box (default is black)\n  -w WINDOW_SIZE WINDOW_SIZE, --window_size WINDOW_SIZE WINDOW_SIZE\n                        initial window size (default is 800x600)\n  -f IMAGE_FORMAT, --image_format IMAGE_FORMAT\n                        define the croped image format\n  -q IMAGE_QUALITY, --image_quality IMAGE_QUALITY\n                        define the croped image quality\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweclaw1%2Finbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweclaw1%2Finbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweclaw1%2Finbac/lists"}