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

Method get_writable_file_extensions

StegaPy/plugin/lsb/lsb_plugin.py:144–147  ·  view source on GitHub ↗

获取支持写入的文件扩展名

(self)

Source from the content-addressed store, hash-verified

142 return ['png', 'bmp', 'jpg', 'jpeg']
143
144 def get_writable_file_extensions(self) -> List[str]:
145 """获取支持写入的文件扩展名"""
146 # LSB需要无损格式
147 return ['png', 'bmp']
148
149 def create_config(self) -> LSBConfig:
150 """创建默认配置"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected