package
Version:
v1.8.4
Opens a new window with list of versions in this module.
Published: Nov 7, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var FormatExts = map[string]Format{
"jpg": JPEG,
"jpeg": JPEG,
"png": PNG,
"gif": GIF,
"tif": TIFF,
"tiff": TIFF,
"webp": WEBP,
"bmp": BMP,
"pbm": PBM,
"pgm": PGM,
"ppm": PPM,
"pam": PAM,
}
Format is an image file format.
const (
UNKNOWN Format = iota
JPEG
PNG
GIF
TIFF
WEBP
BMP
PBM
PGM
PPM
PAM
)
Image file formats.
type Scanner interface {
Scan(x1, y1, x2, y2 int, dst []uint8)
ScanRow(x1, y1, x2, y2 int, img image.Image, row int)
Bytes_per_channel() int
Num_of_channels() int
Bounds() image.Rectangle
ReverseRow(image.Image, int)
NewImage(r image.Rectangle) image.Image
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.