MCPcopy Index your code
hub / github.com/golang/image

github.com/golang/image @v0.43.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.43.0 ↗ · + Follow
1,179 symbols 3,561 edges 106 files 396 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Go Images

Go Reference

This repository holds supplementary Go image packages.

Security Considerations

The packages in this repository have the same security model as the standard library image package. Specifically, when operating on arbitrary images, DecodeConfig should be called before Decode, so that the program can decide whether the image, as defined in the returned header, can be safely decoded with the available resources. A call to Decode which produces an extremely large image, as defined in the header returned by DecodeConfig, is not considered a security issue, regardless of whether the image is itself malformed or not.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/image.

The main issue tracker for the image repository is located at https://go.dev/issues. Prefix your issue with "x/image:" in the subject line, so it is easy to find.

Extension points exported contracts — how you extend this code

Face (Interface)
TODO: who is responsible for caches (glyph images, glyph indices, kerns)? The Drawer or the Face? Face is a font face. I [5 …
font/font.go
Scaler (Interface)
Scaler scales the part of the source image defined by src and sr and writes the result of a Porter-Duff composition to t [4 …
draw/scale.go
Transformer (Interface)
Transformer transforms the part of the source image defined by src and sr and writes the result of a Porter-Duff composi [3 …
draw/scale.go
Interpolator (Interface)
Interpolator is an interpolation algorithm, when dst and src pixels don't have a 1:1 correspondence. Of the interpolato
draw/scale.go

Core symbols most depended-on inside this repo

u16
called by 113
font/sfnt/sfnt.go
Ceil
called by 76
math/fixed/fixed.go
fffftou
called by 69
draw/scale.go
In
called by 68
math/fixed/fixed.go
view
called by 52
font/sfnt/sfnt.go
Floor
called by 44
math/fixed/fixed.go
readBit
called by 43
vp8/partition.go
avg2
called by 40
vp8l/transform.go

Shape

Function 661
Method 382
Struct 87
TypeAlias 38
Interface 6
FuncType 5

Languages

Go100%

Modules by API surface

draw/impl.go106 symbols
draw/scale_test.go98 symbols
font/sfnt/sfnt.go70 symbols
vector/vector_test.go64 symbols
font/sfnt/postscript.go56 symbols
vector/acc_test.go54 symbols
math/fixed/fixed.go42 symbols
tiff/reader_test.go35 symbols
font/plan9font/plan9font.go34 symbols
font/sfnt/proprietary_test.go32 symbols
draw/scale.go28 symbols
ccitt/reader.go27 symbols

For agents

$ claude mcp add image \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact