package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Sep 26, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Stream contains information about a loaded image.
EncodeGif encodes a gif into a stream.
EncodeImage encodes an image into a stream.
NewStream creates a new stream.
Bytes returns the stream's bytes.
DecodeGif decodes the byte stream and returns a gif.
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.