gifcont

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package gifcont provides functions to save binary data as images (e.g. for google photo).

Index

Constants

View Source
const MaxDataLength = dimension*dimension - header

MaxDataLength is the max content length that can store in a single image.

Variables

This section is empty.

Functions

func Bytes2Image

func Bytes2Image(data []byte) (img []byte, err error)

Bytes2Image the function packs data into an image (max MaxDataLength bytes per image).

func Image2Bytes

func Image2Bytes(img []byte) (data []byte, err error)

Image2Bytes extracts hidden bytes from an image.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL