├── .clang-format ├── .github ├── dependabot.yml └── workflows │ └── build.yml ├── .gitignore ├── .husky └── commit-msg ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── Steepfile ├── bin ├── console └── setup ├── commitlint.config.js ├── ext └── magro │ ├── extconf.rb │ ├── magro.c │ └── magro.h ├── lib ├── magro.rb └── magro │ ├── filter.rb │ ├── io.rb │ ├── transform.rb │ └── version.rb ├── magro.gemspec ├── package.json ├── sig-deps └── numo-narray.rbs ├── sig ├── magro.rbs └── magro │ ├── filter.rbs │ ├── io.rbs │ └── transform.rbs └── spec ├── files ├── TEST_RGB_UC.JPG ├── TEST_UC.PNG ├── test.png ├── test_gray.jpg ├── test_gray.png ├── test_rgb.jpg └── test_rgb.png ├── magro ├── filter_spec.rb ├── io_spec.rb └── transform_spec.rb └── spec_helper.rb /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/Rakefile -------------------------------------------------------------------------------- /Steepfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/Steepfile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/bin/setup -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] } 2 | -------------------------------------------------------------------------------- /ext/magro/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/ext/magro/extconf.rb -------------------------------------------------------------------------------- /ext/magro/magro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/ext/magro/magro.c -------------------------------------------------------------------------------- /ext/magro/magro.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/ext/magro/magro.h -------------------------------------------------------------------------------- /lib/magro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/lib/magro.rb -------------------------------------------------------------------------------- /lib/magro/filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/lib/magro/filter.rb -------------------------------------------------------------------------------- /lib/magro/io.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/lib/magro/io.rb -------------------------------------------------------------------------------- /lib/magro/transform.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/lib/magro/transform.rb -------------------------------------------------------------------------------- /lib/magro/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/lib/magro/version.rb -------------------------------------------------------------------------------- /magro.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/magro.gemspec -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/package.json -------------------------------------------------------------------------------- /sig-deps/numo-narray.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/sig-deps/numo-narray.rbs -------------------------------------------------------------------------------- /sig/magro.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/sig/magro.rbs -------------------------------------------------------------------------------- /sig/magro/filter.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/sig/magro/filter.rbs -------------------------------------------------------------------------------- /sig/magro/io.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/sig/magro/io.rbs -------------------------------------------------------------------------------- /sig/magro/transform.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/sig/magro/transform.rbs -------------------------------------------------------------------------------- /spec/files/TEST_RGB_UC.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/TEST_RGB_UC.JPG -------------------------------------------------------------------------------- /spec/files/TEST_UC.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/TEST_UC.PNG -------------------------------------------------------------------------------- /spec/files/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/test.png -------------------------------------------------------------------------------- /spec/files/test_gray.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/test_gray.jpg -------------------------------------------------------------------------------- /spec/files/test_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/test_gray.png -------------------------------------------------------------------------------- /spec/files/test_rgb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/test_rgb.jpg -------------------------------------------------------------------------------- /spec/files/test_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/files/test_rgb.png -------------------------------------------------------------------------------- /spec/magro/filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/magro/filter_spec.rb -------------------------------------------------------------------------------- /spec/magro/io_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/magro/io_spec.rb -------------------------------------------------------------------------------- /spec/magro/transform_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/magro/transform_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoshoku/magro/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------