Skip to content

A small go library to efficiently parse the resolution of various image format streams.

License

Notifications You must be signed in to change notification settings

coscms/go-imgparse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-imgparse

Description

A small go library to efficiently parse the resolution of various image format streams. Can used with any io.Reader.

Current Content Type Support

  • gif
  • jpeg
  • png
  • webp
  • webpll
  • more to come

Installing

go get github.com/vimeo/go-imgparse/imgparse

API

The API is a single function call:

import "github.com/vimeo/go-imgparse/imgparse"

imgparse.ParseRes(input io.Reader, contenttype string)

The input argument is any reader, and contenttype is any of the types listed above.

About

A small go library to efficiently parse the resolution of various image format streams.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%