Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/FoundationVision/LlamaGen
/ check_image
Function
check_image
tools/openimage_json.py:11–17 ·
view source on GitHub ↗
(image_path)
Source
from the content-addressed store, hash-verified
9
10
11
def
check_image(image_path):
12
try
:
13
Image.open(image_path)
14
return
True
15
except
Exception
as
e:
16
print(f
"Error details: {str(e)}"
)
17
return
False
18
19
20
def
check_image_path(image_info):
Callers
1
check_image_path
Function · 0.85
Calls
1
print
Function · 0.85
Tested by
no test coverage detected