image

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPNGCRC32

func CheckPNGCRC32(fileType string, data []byte) (flag bool, calCRC32 uint32, fileCRC32 uint32, err error)

CalcCRC32 Calculate CRC32 Value 计算 CRC32 的值 返回 CRC32 是否正确 计算的值 提取的值

func FixPNGIHDR

func FixPNGIHDR(bin []byte, maxDim int) (fixedBin []byte, width []byte, height []byte, err error)

FixPNGIHDR 修复 PNG Image 的宽高

func LSB added in v0.0.2

func LSB(img image.Image) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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