MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / load_image

Method load_image

llama_cpp/llama_chat_format.py:2830–2831  ·  view source on GitHub ↗
(self, image_url: str)

Source from the content-addressed store, hash-verified

2828 self._exit_stack.callback(mtmd_free)
2829
2830 def load_image(self, image_url: str) -> bytes:
2831 return self._load_image(image_url)
2832
2833 def _create_bitmap_from_bytes(self, image_bytes: bytes):
2834 """Create mtmd_bitmap from image bytes."""

Callers 1

__call__Method · 0.95

Calls 1

_load_imageMethod · 0.95

Tested by

no test coverage detected