Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - corona10/goimghdr: The imghdr module determines the type of image contained in a file for go

The imghdr module determines the type of image contained in a file for go - corona10/goimghdr

Visit SiteGitHub - corona10/goimghdr: The imghdr module determines the type of image contained in a file for go

GitHub - corona10/goimghdr: The imghdr module determines the type of image contained in a file for go

The imghdr module determines the type of image contained in a file for go - corona10/goimghdr

Powered by 0x5a.live ๐Ÿ’—

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

asciicast

Special thanks to

Reference

GoLang Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.