# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from steganography.steganography import Steganography # 画像にテキストを埋め込み path = "/tmp/image/a.jpg" output_path = "/tmp/image/b.jpg" text = 'The quick brown fox jumps over the lazy dog.' Steganography.encode(path, output_path, text) # 画像に隠蔽されたテキストを読み込み secret_text = Steganography.decode(output_path) # 画像にテキストを埋め込み >>>stega