エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Python 画像に文字データを隠蔽するライブラリを公開 - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Python 画像に文字データを隠蔽するライブラリを公開 - Qiita
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from steganograp... # -*- 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