Questions tagged [stepic]

Python image steganography

Python image steganography library. Steganography is the art and science of writing hidden messages in such a way that no one apart from the sender and intended recipient even realizes there is a hidden message.

Documentation: http://domnit.org/stepic/doc/

8 questions
7
votes
1 answer

Steganography in Python - Stepic

Using Stepic 0.3. I am executing commands to encode a message into a JPG image. The code I use is the following: from PIL import Image import stepic im = Image.open ("tester.jpg") im2 = stepic.encode(im,…
user2436704
  • 71
  • 1
  • 2
2
votes
1 answer

How to use stepic.encode()

from PIL import Image import stepic img = Image.open ('a.png') img2 = stepic.encode(img, 'hello world') img2.show() Here the code is giving the following error: TypeError: unsupported operand type(s) for &: 'str' and 'int' Python 3.6 is used.
shubhamr238
  • 1,226
  • 14
  • 22
0
votes
0 answers

Hey all i'm newish to Python but I'm trying to create an image encoder and decoder but Stepic is giving me the following error

from PIL import Image import stepic import flask img = "" secret = "" encoded_image = "" img = input("enter name and extension of image you want to encode: ") img = img.strip() img = Image.open secret = input("Please enter the message you want…
0
votes
1 answer

img.show() not displaying image window

I am new to this but I am writing a program to first create and encrypt passwords, then encode the encrypted passwords into downloaded images then finally, insert the encoded images to a database. Here's my code; import os import re import…
Nanya
  • 1
  • 1
0
votes
1 answer

Python3 Steganography / stepic / ValueError: Unsupported pixel format: image must be RGB, RGBA, or CMYK

I'm fairly new to python, and I'm trying out Steganography. I'm using the libraries Stepic and Image to try to encrypt user input messages onto any image. My script will do just fine until the very last step, the encryption onto the image. My error…
0
votes
1 answer

Stepic JPEG circumventing Fail

I'm trying to use stepic in the Mac Terminal to decode a steganograph: stepic --decode --image-in=goldfish.bmp --out=goldfish.txt The online file is a JPEG but to circumvent the fact I tried downloading it as a .psd and then a .bmp file but it…
user50812
  • 13
  • 3
0
votes
1 answer

Steganography with stepic outputs decode error

I am trying to encode text into picture and then decode it using stepic module. When i execute below code it gaves me decode error. Kindly, advice how to fix it. #encode text in photo from PIL import Image import…
ussrback
  • 491
  • 2
  • 8
  • 22
0
votes
1 answer

Python library installation-pypm

I installed the stepic library using Active State. What I did is as follows: Downloaded Active State. Ran the command pypm install stepic in the command line. It was installed successful and I was able to import it successfully in the command line…
praxmon
  • 5,009
  • 22
  • 74
  • 121