Popularity
2.5
Stable
Activity
0.0
Stable
40
3
4

Programming language: Go
License: BSD 3-clause "New" or "Revised" License
Tags: Images    

goimghdr alternatives and similar packages

Based on the "Images" category.
Alternatively, view goimghdr alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of goimghdr or a related project?

Add another 'Images' Package

README

Build Status GoDoc Go Report Card Coverage Status

goimghdr

Inspired by Python's imghdr

Installation

go get github.com/corona10/goimghdr

List of return value

Value Image format
"rgb" SGI ImgLib Files
"gif" GIF 87a and 89a Files
"pbm" Portable Bitmap Files
"pgm" Portable Graymap Files
"ppm" Portable Pixmap Files
"tiff" TIFF Files
"rast" Sun Raster Files
"xbm" X Bitmap Files
"jpeg" JPEG data in JFIF or Exif formats
"bmp" BMP files
"png" Portable Network Graphics
"webp" WebP files
"exr" OpenEXR Files

Usage

[example](examples/example.go)

asciicast

Special thanks to

Reference