translateimage

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 13 Imported by: 0

README

Translate images with Google Translate in Golang

Install:

go get github.com/spywiree/translateimage

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateFile

func TranslateFile(path string, source, target languagecodes.LanguageCode) (image.Image, error)

Path must be absolute. Supported file types: .jpg, .jpeg, .png.

func TranslateImage

func TranslateImage(img image.Image, source, target languagecodes.LanguageCode) (image.Image, error)

func TranslateReader

func TranslateReader(r io.Reader, source, target languagecodes.LanguageCode) (image.Image, error)

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