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

Function get_diff

StegaPy/util/file_util.py:11–16  ·  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

9
10
11 def get_diff(self, stego_data: bytes, stego_filename: Optional[str],
12 cover_data: bytes, cover_filename: Optional[str],
13 diff_filename: Optional[str]) -> bytes:
14 """获取原始图像和隐写图像的差异"""
15 return self.plugin.get_diff(stego_data, stego_filename,
16 cover_data, cover_filename, diff_filename)
17
18
19

Callers

nothing calls this directly

Calls 1

get_diffMethod · 0.45

Tested by

no test coverage detected