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: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址