Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ get_nbytes
Method
get_nbytes
imagepy/core/wraper/imageplus.py:68–69 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
66
if
n>=0 and n<len(self.imgs):self.cur=n
67
68
def
get_nbytes(self):
69
return
self.imgs[0].nbytes * len(self.imgs)
70
71
@property
72
def
img(self):
return
self.imgs[self.cur]
Callers
2
set_info
Method · 0.45
set_info
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected