Documentation ¶
Index ¶
- func Decode(img image.Image) (string, error)
- func Encode(img image.Image, message string, bitsPerByte int) (image.Image, error)
- func LSBEncode(img image.Image, message string) (image.Image, error)
- func MaxEncodeSize(img image.Image, bitsPerByte int) (uint32, error)
- func MaxLSBEncodeSize(img image.Image) (uint32, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encode encodes the message in the given image using the given number of bits per byte bitsPerByte: number of bits used to encode in a byte, must be within [1,8]
func MaxEncodeSize ¶
MaxEncodeSize calculates the maximum size of the encoded message in the given image when using the given number of bits per byte to encode numEncodeBits: number of bits used to encode in a byte, must be within [1,8]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.