Discover Packages
github.com/kovidgoyal/imaging
types
package
Version:
v1.9.0
Opens a new window with list of versions in this module.
Published: Oct 18, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
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
}
const (
NoTransform TransformType = iota
FlipHTransform
FlipVTransform
Rotate90Transform
Rotate180Transform
Rotate270Transform
TransverseTransform
TransposeTransform
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.