{"id":18620839,"url":"https://github.com/exts/gisc","last_synced_at":"2025-07-10T17:04:25.003Z","repository":{"id":114940577,"uuid":"109703034","full_name":"exts/Gisc","owner":"exts","description":"Generic Image Signature Checker written in Crystal","archived":false,"fork":false,"pushed_at":"2017-11-06T14:19:01.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T12:18:55.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-11-06T14:05:37.000Z","updated_at":"2018-10-02T20:19:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"84e57e89-6aac-48a0-b993-d444899d45cf","html_url":"https://github.com/exts/Gisc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/exts/Gisc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exts%2FGisc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exts%2FGisc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exts%2FGisc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exts%2FGisc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exts","download_url":"https://codeload.github.com/exts/Gisc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exts%2FGisc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264613880,"owners_count":23637454,"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-07T04:08:09.989Z","updated_at":"2025-07-10T17:04:24.998Z","avatar_url":"https://github.com/exts.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gisc\n\nGisc, short for Generic Image Signature Checker, is a generic image signature checker to validate if an image is of the type that is being loaded. Allows for making sure an image is a valid gif, jpeg or png.\n\nCurrently theonly supported image types are:\n\n- jpg\n- png\n- gif\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  Gisc:\n    github: exts/Gisc\n```\n\n## Usage\n\n```crystal\nrequire \"Gisc\"\n\nimginfo = Gisc::Checker.new \"path/to/image.png\"\nif imginfo.check \"png\"\n  puts \"this is a valid png\"\n  puts imginfo.signature\n  #puts imginfo.image.get() #read Gisc/Image.cr for more info\nend\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/exts/Gisc/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [exts](https://github.com/exts) exts - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexts%2Fgisc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexts%2Fgisc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexts%2Fgisc/lists"}