{"id":17794482,"url":"https://github.com/kjunichi/mruby-imgtype","last_synced_at":"2026-04-24T16:36:17.672Z","repository":{"id":148483004,"uuid":"101974290","full_name":"kjunichi/mruby-imgtype","owner":"kjunichi","description":"mrbgem for libimgtype(display image on cmd.exe)","archived":false,"fork":false,"pushed_at":"2017-09-01T05:59:32.000Z","size":684,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T17:24:54.817Z","etag":null,"topics":["cmd","image-viewer","mruby","windows"],"latest_commit_sha":null,"homepage":null,"language":"C","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/kjunichi.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}},"created_at":"2017-08-31T07:47:52.000Z","updated_at":"2017-08-31T08:17:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2155c06-ac19-4413-acd0-c62911c5dab7","html_url":"https://github.com/kjunichi/mruby-imgtype","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/kjunichi%2Fmruby-imgtype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fmruby-imgtype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fmruby-imgtype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjunichi%2Fmruby-imgtype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjunichi","download_url":"https://codeload.github.com/kjunichi/mruby-imgtype/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741544,"owners_count":20826166,"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":["cmd","image-viewer","mruby","windows"],"created_at":"2024-10-27T11:16:38.586Z","updated_at":"2026-04-24T16:36:17.635Z","avatar_url":"https://github.com/kjunichi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mruby-imgtype [![Build status](https://ci.appveyor.com/api/projects/status/0oopa04ylvw4tj2p?svg=true)](https://ci.appveyor.com/project/kjunichi/mruby-imgtype)\r\n\r\n\r\nImgtype class\r\n\r\n## install by mrbgems\r\n\r\n- add conf.gem line to `build_config.rb`\r\n\r\n```ruby\r\nMRuby::Build.new do |conf|\r\n\r\n    # ... (snip) ...\r\n\r\n    conf.gem :github =\u003e 'kjunichi/mruby-imgtype'\r\nend\r\n```\r\n## example\r\n\r\nYou need to install mruby-webcam.\r\n\r\n```ruby\r\nImgtype.init\r\n\r\ncam = Webcam.new\r\ncam.setFmt \"ppm\"\r\ncam.capture {|img|\r\n  Imgtype.imgtype img\r\n}\r\nwhile true\r\n    cam.snap\r\n    Sleep::usleep(1000)\r\n    if Imgtype.get_key == \"ESC\" then\r\n        break\r\n    end\r\nend\r\nImgtype.close\r\n```\r\n\r\n## License\r\nunder the MIT License:\r\n- see LICENSE file\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fmruby-imgtype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjunichi%2Fmruby-imgtype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjunichi%2Fmruby-imgtype/lists"}