ximg

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 9 Imported by: 0

README

ximage

exif 信息写入依赖 exiftool

# mac 
brew install exiftool

# linux
sudo apt-get install exiftool

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64

func Base64(filepath string) string

Base64 ...

func Parse

func Parse(filepath string) (image.Image, string, error)

Parse ...

func Read

func Read(filepath string) image.Image

Read ...

func ReadExif

func ReadExif(filepath string) map[string]interface{}

ReadExif ...

func Size

func Size(filepath string) (int, int)

Size ...

func Type

func Type(filepath string) string

Type ...

func Write

func Write(filepath string, src image.Image) error

Write ...

func WriteExif

func WriteExif(filepath string, kv map[string]string) error

WriteExif ... key 须是有效的 exif 字段

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