Versions in this module Expand all Collapse all v0 v0.0.3 Apr 22, 2023 v0.0.2 Apr 22, 2023 Changes in this version + func ByteImageToByte(b []byte) ([]byte, error) + func ByteImageToByteImage(b []byte, x, y int) ([]byte, error) + func ByteImageToByteWebp(b []byte) ([]byte, error) + func ByteToImage(b []byte) (image.Image, error) + func ByteToWebp(b []byte) (image.Image, error) + func ByteToWebpAnimationByte(b []byte) ([]byte, error) + func FfProbe(input_name string, combine bool, argumenst []string) (map[string]interface{}, []byte, error) + func Ffmpeg(input_name, output_name string, combine bool, argumenst []string) ([]byte, error) + func ImageReOrient(b []byte) (image.Image, error) + func ImageResize(i image.Image, width, height int) image.Image + func ImageToByte(img image.Image, f imaging.Format) ([]byte, error) + func ImageToWebp(img image.Image) (image.Image, error) + func WebpToByte(w image.Image) ([]byte, error) + type AudioInfo struct + BitRate string + Bytes []byte + Channels float64 + Mimetype string + SampleRate string + Seconds float64 + Size int + func ConvertToOgg(data []byte) (AudioInfo, []byte, error) + type MediaInfo struct + Bytes []byte + Height int + JpegThumbail []byte + Mimetype string + Seconds int + Size int + Width int + func GifToMP4(data []byte) (MediaInfo, error) + type StreamsInfo struct + Streams []map[string]any