Documentation ¶
Overview ¶
Package image implements creation of images from file and bytes.
Package image implements creation of images from file and bytes.
Index ¶
- func NewFromBytes(bytes []byte, extension extension.Type, ps ...props.Rect) core.Component
- func NewFromBytesCol(size int, bytes []byte, extension extension.Type, ps ...props.Rect) core.Col
- func NewFromBytesRow(height float64, bytes []byte, extension extension.Type, ps ...props.Rect) core.Row
- func NewFromFile(path string, ps ...props.Rect) core.Component
- func NewFromFileCol(size int, path string, ps ...props.Rect) core.Col
- func NewFromFileRow(height float64, path string, ps ...props.Rect) core.Row
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromBytes ¶
NewFromBytes is responsible to create an instance of an Image.
func NewFromBytesCol ¶
NewFromBytesCol is responsible to create an instance of an Image wrapped in a Col.
func NewFromBytesRow ¶
func NewFromBytesRow(height float64, bytes []byte, extension extension.Type, ps ...props.Rect) core.Row
NewFromBytesRow is responsible to create an instance of an Image wrapped in a Row.
func NewFromFile ¶
NewFromFile is responsible to create an instance of an Image.
func NewFromFileCol ¶
NewFromFileCol is responsible to create an instance of an Image wrapped in a Col.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.