MCPcopy Create free account
hub / github.com/Image-Py/imagepy / make_bitmap

Function make_bitmap

imagepy/ui/toolsloader.py:12–15  ·  view source on GitHub ↗
(bmp)

Source from the content-addressed store, hash-verified

10from glob import glob
11
12def make_bitmap(bmp):
13 img = bmp.ConvertToImage()
14 img.Resize((20, 20), (2, 2))
15 return img.ConvertToBitmap()
16
17def build_tools(parent, toolspath, extends, bar=None, report=False):
18 global host

Callers 2

buildToolsBarFunction · 0.70
add_toolsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected