{"id":19220505,"url":"https://github.com/timgoll/imagecropper","last_synced_at":"2025-07-12T16:37:46.253Z","repository":{"id":123885859,"uuid":"112206498","full_name":"TimGoll/imageCropper","owner":"TimGoll","description":"simple Python Script wich handles scanned images","archived":false,"fork":false,"pushed_at":"2017-11-27T15:22:34.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T09:23:55.970Z","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/TimGoll.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-27T14:29:33.000Z","updated_at":"2017-11-27T15:22:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"9072a250-0996-4eed-abda-1d24fb4ff037","html_url":"https://github.com/TimGoll/imageCropper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimGoll/imageCropper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2FimageCropper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2FimageCropper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2FimageCropper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2FimageCropper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimGoll","download_url":"https://codeload.github.com/TimGoll/imageCropper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimGoll%2FimageCropper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265024279,"owners_count":23699589,"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-11-09T14:35:21.737Z","updated_at":"2025-07-12T16:37:46.224Z","avatar_url":"https://github.com/TimGoll.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imageCropper\nImageCropper ist ein Python Skript, welches automatisch eingescannte Bilder freistellt und entsprechende Namen gibt.\n\nPython 2.7 und [PythonImageLibrary](http://www.pythonware.com/products/pil/) werden benötigt. Funktioniert auf Windows, Mac und Linux.\n\n## Programmstart\nDie Konsole muss in dem Ordner geöffnet werden und das Programm dort mit `python picture.py` ausgeführt werden.\n\n## Vorbereitungen\n### Config\nDie Config Datei in `/config/config.json` muss bearbeitet werden. `offset` stell die Verschiebung des Ursprungs im Quellbild dar, `source_size` und `destination_size` definieren die Größe. Sind die Werte unterschiedlich, so wird das Bild skaliert. Die Datei `/config/lastnum.json` kann ignoriert werden.\n\n### Ordner\nIn `/image_source` müssen die Unterordner angelegt werden. Folgende Struktur ist zwingend:\n```\n-+ image_source\n +--+ 2015\n |  +--+ 03\n |  +--+ 07\n |  +--+ 12\n +--+ 2016\n |  +--+ 07\n +--+ 2017\n    +--+ 01\n    +--+ 02\n```\nIn den innersten Ordnern befinden sich beliebig benannte Bilder.\n\n## Ablauf\nDas Programm durchläuft anschließend die Ordner und verarbeitet alle Bilder. Diese werden auf die gewünschte Größe zugeschnitten und nach dem Schema `PRE_YYYY_MM_XXX.jpg` benannt, wobei `XXX` fortlaufende Nummern beginnend bei `000` sind.\n\n**zum Beispiel:** `PIC_2017_02_000.jpg`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimgoll%2Fimagecropper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimgoll%2Fimagecropper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimgoll%2Fimagecropper/lists"}