Documentation
¶
Index ¶
- func ComposeErr[T, U, V any](f func(T) (U, error), g func(U) (V, error)) func(T) (V, error)
- func ImageToGifToStdout(i image.Image) error
- func ImageToJpgToStdout(i image.Image) error
- func ImageToPngToStdout(i image.Image) error
- func RectangleFromSize(width, height int) image.Rectangle
- type CsvRow
- type CsvRowToGray8
- type ImageGray8
- func (g ImageGray8) AsImage() image.Image
- func (g ImageGray8) At(x, y int) color.Color
- func (g ImageGray8) Bounds() image.Rectangle
- func (g ImageGray8) ColorModel() color.Model
- func (g ImageGray8) Data(index int) color.Color
- func (g ImageGray8) Height() int
- func (g ImageGray8) ToGif(w io.Writer) error
- func (g ImageGray8) ToJpg(w io.Writer) error
- func (g ImageGray8) ToPng(w io.Writer) error
- func (g ImageGray8) ToPointToIndex() PointToIndex
- func (g ImageGray8) TotalPixelCount() int
- func (g ImageGray8) Width() int
- type IterToImageGray8
- type PointToIndex
- type StrToGray8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeErr ¶
func ImageToGifToStdout ¶
func ImageToJpgToStdout ¶
func ImageToPngToStdout ¶
func RectangleFromSize ¶
Types ¶
type CsvRowToGray8 ¶
var CsvRowToGray8Default CsvRowToGray8 = StrToGray8Default.ToCsvRowToGray8()
func (CsvRowToGray8) ToIterToImageGray8 ¶
func (c CsvRowToGray8) ToIterToImageGray8( rect image.Rectangle, ) IterToImageGray8
type ImageGray8 ¶
func (ImageGray8) AsImage ¶
func (g ImageGray8) AsImage() image.Image
func (ImageGray8) Bounds ¶
func (g ImageGray8) Bounds() image.Rectangle
func (ImageGray8) ColorModel ¶
func (g ImageGray8) ColorModel() color.Model
func (ImageGray8) Height ¶
func (g ImageGray8) Height() int
func (ImageGray8) ToPointToIndex ¶
func (g ImageGray8) ToPointToIndex() PointToIndex
func (ImageGray8) TotalPixelCount ¶
func (g ImageGray8) TotalPixelCount() int
func (ImageGray8) Width ¶
func (g ImageGray8) Width() int
type IterToImageGray8 ¶
func (IterToImageGray8) IterToImage ¶
type PointToIndex ¶
type StrToGray8 ¶
func (StrToGray8) ToCsvRowToGray8 ¶
func (c StrToGray8) ToCsvRowToGray8() CsvRowToGray8
Click to show internal directories.
Click to hide internal directories.