Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tdewolff/canvas
/ ColorModel
Method
ColorModel
image/image.go:118–120 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
116
}
117
118
func
(i *Image) ColorModel() color.Model {
119
return
i.Config.ColorModel
120
}
121
122
func
(i *Image) Bounds() image.Rectangle {
123
return
image.Rectangle{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected