{"id":22144964,"url":"https://github.com/jim/unshred","last_synced_at":"2025-03-24T12:19:41.968Z","repository":{"id":1851726,"uuid":"2776478","full_name":"jim/unshred","owner":"jim","description":"A solution to the Instagram Image Unshredding Challenge.","archived":false,"fork":false,"pushed_at":"2012-03-31T20:05:48.000Z","size":12398,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T17:24:53.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"github-modules/github-url-to-object","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jim.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":"2011-11-15T00:02:31.000Z","updated_at":"2019-04-15T11:35:46.000Z","dependencies_parsed_at":"2022-07-19T22:03:22.561Z","dependency_job_id":null,"html_url":"https://github.com/jim/unshred","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/jim%2Funshred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim%2Funshred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim%2Funshred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim%2Funshred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jim","download_url":"https://codeload.github.com/jim/unshred/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245267567,"owners_count":20587459,"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-12-01T22:36:36.937Z","updated_at":"2025-03-24T12:19:41.941Z","avatar_url":"https://github.com/jim.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unshred\n\nThis is a solution to the [Instagram Image Unshredding Challenge](http://instagram-engineering.tumblr.com/post/12651721845/instagram-engineering-challenge-the-unshredder).\n\n## Requirements\n\n* Ruby 1.9\n* ChunkyPNG\n* [GraphicsMagick](http://www.graphicsmagick.org/) to run the tests.\n\nAll commands assume you are in the project directory, as I haven't\nbothered to make this a real gem.\n\n## Usage\n\nThis code works well for photographic images, but has some trouble with the old\nTV test image.\n\nShred width detection is supported. To unshred an image:\n\n    ruby bin/unshred path_to_image [-o OUTPUT_PATH]\n\nShredding of normal images is also supported:\n\n    ruby bin/unshred path_to_image -s -w SHRED_WIDTH [-o OUTPUT_PATH]\n\nTo see the valid shred widths, run the previous command and omit the\n`-w` option.\n\n## Tests\n\n    ruby test/unshred_test.rb\n\nThere is currently one failing test (the TV test image).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim%2Funshred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjim%2Funshred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim%2Funshred/lists"}