Versions in this module Expand all Collapse all v1 v1.0.1 Mar 14, 2023 Changes in this version + func AddWatermark(img image.Image, wm []byte) (image.Image, error) + func Dct2(x [][]float64) [][]float64 + func Dwt2(src [][]float64) (aa [][]float64, ad [][]float64, da [][]float64, dd [][]float64) + func EmbedWm(src [][][][]float64, wm []uint8) [][][][]float64 + func ExtractWaterMask(img image.Image) ([]byte, error) + func ExtractWm(src [][]float64) ([]uint8, error) + func FloatToUint8(f float64) uint8 + func Idct2(x [][]float64) [][]float64 + func Idwt2(aa [][]float64, ad [][]float64, da [][]float64, dd [][]float64) (dst [][]float64) + func RestoreSourceData(blocks [][][][]float64) (src [][]float64) + func SwitchToBlocks(src [][]float64) (blocks [][][][]float64)