{"id":18785736,"url":"https://github.com/uzyn/print-prep","last_synced_at":"2025-12-21T22:30:17.274Z","repository":{"id":34243266,"uuid":"38116748","full_name":"uzyn/print-prep","owner":"uzyn","description":"Digicam photos prep for print shops","archived":false,"fork":false,"pushed_at":"2015-12-02T01:54:57.000Z","size":274,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-15T04:44:11.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/uzyn.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}},"created_at":"2015-06-26T14:51:29.000Z","updated_at":"2015-10-13T09:37:39.000Z","dependencies_parsed_at":"2022-09-09T08:12:32.665Z","dependency_job_id":null,"html_url":"https://github.com/uzyn/print-prep","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/uzyn%2Fprint-prep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzyn%2Fprint-prep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzyn%2Fprint-prep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzyn%2Fprint-prep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uzyn","download_url":"https://codeload.github.com/uzyn/print-prep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239702067,"owners_count":19683032,"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-07T20:49:32.939Z","updated_at":"2025-12-21T22:30:17.239Z","avatar_url":"https://github.com/uzyn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# print-prep\nDigicam photo prep for print shops.\n\n[![Build Status](https://travis-ci.org/uzyn/print-prep.svg?branch=master)](https://travis-ci.org/uzyn/print-prep)\n\n### Help\n```\nprintprep [\u003csource\u003e] [\u003cdestination\u003e] [\u003coptions\u003e]\n\nsource          Defaults to current directory\ndestination     Defaults to the same as source\n\nOptions:\n-p, --position   Position photo at center, left, or right, defaults to `--position=right`.\n-c, --color      Background color, if original photo does not fill up the whole resulting photo, defaults to `--color=white`.\n-b, --background Background image.\n-r, --ratio      Resulting ratio, defaults to `--ratio=3:2`.\n-n, --normalize  Enhance output photo contrast by stretching its luminance to cover the full dynamic range.\n-e, --ext        Specify extensions, defaults to `--ext=jpg,jpeg,tiff,png`.\n-f, --fillup     Expand to fill up the whole resulting photo, may lose parts of source, defaults to unset (false).\n-o, --occupancy  Specify the percentage of photo occupancy. Setting this automatically enables `--fillup`.\n-i, --config     Load JSON configuration. It useful for multi-pass support as otherwise it's very difficult to specify everything in command line. By default, print-prep will auto load a JSON configuration named as printprep.config.json.\n-v, --verbose    Show more debug information.\n```\n\n### Example JSON Configuration\n\n```javascript\n[\n  {\n    \"source\": \"example.jpg\",\n    \"output\": \"./prepare/example.jpg\",\n    \"position\": \"center\",\n    \"color\": \"white\",\n    \"ratio\": \"4:3\"\n  },\n  {\n    \"source\": \"./prepare/example.jpg\",\n    \"output\": \"./done/example.jpg\",\n    \"background\": \"background.jpg\",\n    \"color\": \"white\",\n    \"ratio\": \"3:2\"\n  }\n]\n```\n\n### Notes\n\n- `printprep` always rotate photos to landscape because printers are orientation agnostics.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzyn%2Fprint-prep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuzyn%2Fprint-prep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzyn%2Fprint-prep/lists"}