Documentation ¶
Index ¶
- func ByteSliceToGolangImage(data []byte) (image.Image, error)
- func GetMetaFromImageByteSlice(image []byte) (width int, height int, fileExtension string, fileSize int, err error)
- func GetSizeOfByteSlice(data interface{}) (int, error)
- func GolangImageToByteSlice(img image.Image, format string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteSliceToGolangImage ¶
Convert image format of []byte to image.Image
func GetMetaFromImageByteSlice ¶
func GetMetaFromImageByteSlice(image []byte) (width int, height int, fileExtension string, fileSize int, err error)
Get meta data from image format of []byte
func GetSizeOfByteSlice ¶
Get file size in bytes of any file type by using Go file descriptor as parameter type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.