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.
Click to show internal directories.
Click to hide internal directories.