exifremove

package module
v0.0.0-...-4666b56 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 12 Imported by: 0

README

go-exif-remove

Build Status codecov GoDoc

Forked from github.com/scottleedavis/go-exif-remove. This version has ErrNoExif additionaly. It has NOT compatibility with original.

Removes EXIF information from JPG and PNG files

Uses go-exif to extract EXIF information and overwrites the EXIF region.

import 	"github.com/scottleedavis/go-exif-remove"

noExifBytes, err := exifremove.Remove(imageBytes)

See example usage in exif-remove-tool

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoExif is meant that the image has no EXIF
	ErrNoExif = errors.New("no exif data")
	// ErrNotCompatible is meant that the image is not PNG/JPEG
	ErrNotCompatible = errors.New("may not image")
)

Functions

func Remove

func Remove(data []byte) ([]byte, 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