Back to

package goimghdr

v0.0.0 (9af2afa)
Latest Go to latest
Published: Jun 14, 2019 | License: BSD-3-Clause | Module:


func What

func What(file string) (string, error)

What returns a string value of image header.

func WhatFromReader

func WhatFromReader(r io.Reader) (string, error)

WhatFromReader returns a string value of image header from Reader.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier