picsuffix

package module
v0.0.0-...-15d906d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

README

Why

When I want to use the downloaded image file with the tesseract,it toldme the file is not ok.I examined the file and found that the suffix error. So I made this little tool.

Build

go build ./src

Usage

src.exe "dirpath" or src.exe "filepath"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JudgePicFileType

func JudgePicFileType(path string) string

Used for get a image file's suffix return a suffix string in lower case, example: "png" or "jpg"

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL