Skip to main content

JPG, GIF, PNG, BMP.

日本語ドキュメント: Japanese Document

Installation

$ pip install steganography

Example Image

HTTPie compared to cURL

Sample Command

# encode example: hide text to image
>>>steganography -e /tmp/image/input.jpg /tmp/image/output.jpg 'The quick brown fox jumps over the lazy dog.'

# decode example: read secret text from image
>>>steganography -d /tmp/image/output.jpg
The quick brown fox jumps over the lazy dog.

Sample Code

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from steganography.steganography import Steganography

# hide text to image
path = "/tmp/image/input.jpg"
output_path = "/tmp/image/output.jpg"
text = 'The quick brown fox jumps over the lazy dog.'
Steganography.encode(path, output_path, text)

# read secret text from image
secret_text = Steganography.decode(output_path)

Documentation

Metadata

Release files for steganography 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steganography 0.1.1
File Size Uploaded
steganography-0.1.1.tar.gz 3.1 kB Details

Release files / steganography-0.1.1.tar.gz

Download URL steganography-0.1.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
50465ad9dd07b1286ff69eeea93984a2e7437fb4f62571236a25fa158a98ee97
BLAKE2b-256 checksum
How to use checksums
b3b3eea65e2e628434ab9cb691f5b13c447d3de832a0c9f273db40cc2df0413b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page