MCPcopy Create free account
hub / github.com/lxn/walk / NewBitmapFromFile

Function NewBitmapFromFile

bitmap.go:123–125  ·  view source on GitHub ↗

NewBitmapFromFile creates new bitmap from a bitmap file at 96dpi. Deprecated: Newer applications should use NewBitmapFromFileForDPI.

(filePath string)

Source from the content-addressed store, hash-verified

121//
122// Deprecated: Newer applications should use NewBitmapFromFileForDPI.
123func NewBitmapFromFile(filePath string) (*Bitmap, error) {
124 return NewBitmapFromFileForDPI(filePath, 96)
125}
126
127// NewBitmapFromFileForDPI creates new bitmap from a bitmap file at given DPI.
128func NewBitmapFromFileForDPI(filePath string, dpi int) (*Bitmap, error) {

Callers

nothing calls this directly

Calls 1

NewBitmapFromFileForDPIFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…