MCPcopy Create free account
hub / github.com/MearaY/StegaPy / get_diff

Method get_diff

StegaPy/plugin/base.py:91–95  ·  view source on GitHub ↗

获取原始图像和隐写图像的差异

(self, stego_data: bytes, stego_filename: Optional[str],
                 cover_data: bytes, cover_filename: Optional[str],
                 diff_filename: Optional[str])

Source from the content-addressed store, hash-verified

89 raise NotImplementedError
90
91 def get_diff(self, stego_data: bytes, stego_filename: Optional[str],
92 cover_data: bytes, cover_filename: Optional[str],
93 diff_filename: Optional[str]) -> bytes:
94 """获取原始图像和隐写图像的差异"""
95 raise NotImplementedError
96
97 def get_readable_file_extensions(self) -> List[str]:
98 """获取支持读取的文件扩展名"""

Callers 2

get_diffFunction · 0.45
get_diffFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected