Gisc
Version, currently 0.1.01 version
- 0.1.0latestNov 6, 2017
github.com/exts/Gisc
Generic Image Signature Checker written in Crystal
5 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
Gisc:
github: exts/Gisc
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
0.23.1- License
- MIT
- Author
- exts
Dependencies
This version declares no dependencies.
README
Gisc
Gisc, 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.
Currently theonly supported image types are:
- jpg
- png
- gif
Installation
Add this to your application's shard.yml:
dependencies:
Gisc:
github: exts/Gisc
Usage
require "Gisc"
imginfo = Gist::Checker.new "path/to/image.png"
if imginfo.check "png"
puts "this is a valid png"
puts imginfo.signature
#puts imginfo.image.get() #read Gisc/Image.cr for more info
end
Contributing
- Fork it ( https://github.com/exts/Gisc/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- exts exts - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Nov 6, 2017
- Commit
9f43ae4dc5a0- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/exts/Gisc
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1