{"id":16147468,"url":"https://github.com/edap/poster","last_synced_at":"2025-03-18T18:31:44.912Z","repository":{"id":19095251,"uuid":"22323317","full_name":"edap/poster","owner":"edap","description":"command line tool to resize and merge images","archived":false,"fork":false,"pushed_at":"2016-03-12T23:32:33.000Z","size":1302,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-11T00:25:23.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/edap.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":"2014-07-27T21:55:04.000Z","updated_at":"2018-09-01T02:50:41.000Z","dependencies_parsed_at":"2022-08-05T02:15:32.334Z","dependency_job_id":null,"html_url":"https://github.com/edap/poster","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/edap%2Fposter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2Fposter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2Fposter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2Fposter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edap","download_url":"https://codeload.github.com/edap/poster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221715723,"owners_count":16868606,"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-10-10T00:25:23.514Z","updated_at":"2024-10-27T18:13:07.976Z","avatar_url":"https://github.com/edap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc](https://godoc.org/github.com/edap/poster?status.png)](https://godoc.org/github.com/edap/poster)\n[![Build Status](https://drone.io/github.com/edap/poster/status.png)](https://drone.io/github.com/edap/poster/latest) \n\n# poster\nposter is a command line tool that allows you to merge more images in one.\nGiven a source folder containing the images, the program resizes all the images at the same dimension (default is 120x90) and calculates the disposition of the images in a rectangle. If the number of the images is a prime number, and one of the image can not fit into a rectangle, the tool will skip one images, until the total number of the images will fit into a  rectangle.\n\n## Usage\nSimply run `poster` in the folder containing your images. If you run `poster -h` the default options will be displayed\n\n```go\nUsage of poster:\n  -dest_dir=\".\": the destination directory that will contain the grid\n  -log_file=\"stdout\": specify a log file, as default it will print on stdout\n  -source_dir=\".\": the origin directory that contains the images to compose the grid\n  -thumb_height=90: the height of a single thumb\n  -thumb_width=120: the width of a single thumb\n```\n\nTo specify a different source directory as the current direcotry, a different destination directory as the current one, and a logfile, do as follow.\n\n`poster -dest_dir=/home/username/dest -source_dir=/home/username/source -log_file=/home/username/my.log` \n\n##Installation\nAssuming that you have the go toolchain installed, download the package with `go get github.com/edap/poster` and install it moving in the downloaded folder and running `go install`.\n\n## TODO\n\n* ~~provide log option~~ _done_\n* Support multiple image formats, .gif, .png, and not only jpeg\n* Use goroutine during the canvas creation\n* Provide batch resize command, without merge\n* Aspect ratio option, 4/3 and 16/9\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedap%2Fposter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedap%2Fposter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedap%2Fposter/lists"}