package
Version:
v0.0.0-...-23ff3f9
Opens a new window with list of versions in this module.
Published: Mar 9, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stream work with io.Reader
Stream contains information about a loaded image.
EncodeImage encodes an image into a stream.
NewStream creates a new stream struct.
Bytes returns the stream's bytes.
DecodeImage decodes the byte stream and returns an image.
FileExt returns the file extension of the image.
IsGif returns true if the loaded image is a gif.
IsJpg returns true if the loaded image is a Jpeg.
IsPng returns true if the loaded image is a Png.
Read implements the io.Reader interface for the Stream.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.