Popularity
2.4
Declining
Activity
0.0
Stable
40
2
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.
-
gocv
Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, OpenCV Contrib, and OpenVINO. -
pigo
Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go. -
darkroom
An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency. -
LookUp
:mag: Pure Go implementation of fast image search and simple OCR, focused on reading info from screenshots -
fastimage
Finds the type and/or size of a remote image given its uri, by fetching as little as needed. -
webp-server
Simple and minimal image server capable of storing, resizing, converting and caching images.
InfluxDB โ Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
Promo
www.influxdata.com

Do you think we are missing an alternative of goimghdr or a related project?
README
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)
Special thanks to
Reference
- CPython imghdr module
- [DSCN0029.jpg](imgData/DSCN0029.jpg) is from ianare/exif-samples