{"id":17357891,"url":"https://github.com/jd557/context-aware-image-resize","last_synced_at":"2025-04-02T02:44:54.654Z","repository":{"id":150471841,"uuid":"359597533","full_name":"JD557/context-aware-image-resize","owner":"JD557","description":"Context aware image resizing in Scala","archived":false,"fork":false,"pushed_at":"2023-05-20T21:08:59.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T18:09:23.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/JD557.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":"2021-04-19T21:02:45.000Z","updated_at":"2023-04-17T20:16:40.000Z","dependencies_parsed_at":"2023-07-28T14:01:08.116Z","dependency_job_id":null,"html_url":"https://github.com/JD557/context-aware-image-resize","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"3f358a9fa86934a69a6bef336b12e71b422dc956"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcontext-aware-image-resize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcontext-aware-image-resize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcontext-aware-image-resize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcontext-aware-image-resize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JD557","download_url":"https://codeload.github.com/JD557/context-aware-image-resize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246746898,"owners_count":20827062,"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-15T19:02:36.525Z","updated_at":"2025-04-02T02:44:54.629Z","avatar_url":"https://github.com/JD557.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Context Aware Image Resize\n\nA toy implementation of the [Seam Carving algorithm](https://perso.crans.org/frenoy/matlab2012/seamcarving.pdf) in Scala, based on the blog post [\"Content-aware image resizing in JavaScript\"](https://trekhleb.dev/blog/2021/content-aware-image-resizing-in-javascript/)\n\nSupports both downscaling and upscaling (up to 2x).\n\nSupports PPM, BMP and QOI images.\n\nUsage:\n\n`java -jar resize.jar [-w width] [-h height] [-o output] \u003cfilename\u003e`\n\nor\n\n`./resize [-w width] [-h height] [-o output] \u003cfilename\u003e`\n\nWhere the width and height are a number between 0.0 and 2.0, representing how much to scale that size (e.g. `-w 0.5 -h 2.0` will resize a 640 x 480 image to 320 960).\n\nIf the output is unspecified, the resized image will show up in a window.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd557%2Fcontext-aware-image-resize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd557%2Fcontext-aware-image-resize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd557%2Fcontext-aware-image-resize/lists"}