MCPcopy Index your code
hub / github.com/lincolnloop/python-qrcode / save

Method save

qrcode/image/pil.py:50–54  ·  view source on GitHub ↗
(self, stream, format=None, **kwargs)

Source from the content-addressed store, hash-verified

48 self._idr.rectangle(box, fill=self.fill_color)
49
50 def save(self, stream, format=None, **kwargs):
51 kind = kwargs.pop("kind", self.kind)
52 if format is None:
53 format = kind
54 self._img.save(stream, format=format, **kwargs)
55
56 def __getattr__(self, name):
57 return getattr(self._img, name)

Callers 15

mainFunction · 0.45
test_render_pypngFunction · 0.45
test_render_pypng_to_strFunction · 0.45
test_render_svgFunction · 0.45
test_render_svg_pathFunction · 0.45
test_render_svg_fragmentFunction · 0.45
test_svg_stringFunction · 0.45
test_svg_circle_drawerFunction · 0.45
test_render_pilFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_render_pypngFunction · 0.36
test_render_pypng_to_strFunction · 0.36
test_render_svgFunction · 0.36
test_render_svg_pathFunction · 0.36
test_render_svg_fragmentFunction · 0.36
test_svg_stringFunction · 0.36
test_svg_circle_drawerFunction · 0.36
test_render_pilFunction · 0.36
test_render_with_patternFunction · 0.36