After some months of inactivity on my Python steganography project, the Daily Python URL featured Stepic, traffic to this site jumped way up, and Stepic got a bunch of attention on the Web and in my mailbox. A rundown of the interesting tidbits:
- Scott Kitterman wanted to package Stepic for Debian and Ubuntu. I released the insignificantly-updated 0.2.1 a few days ago, which mostly just fixed the build/release process so that the license was included with the source code tarball.
- As I had mentioned, Greg Piñero converted Stepic to a web utility.
- Prompted by the web utility’s memory constraint, I’ve modified Stepic to (sometimes) use less memory, by adding the ability to modify an image in-place.
This lower-memory code is Stepic 0.3.
decodebehave as before.
- A new
encode_inplacefunction is available, which modifies a image instead of generating a new one.
- Stepic can encode and decode pixel sequences without using PIL. If PIL is missing, these functions will still be available. Ex:
>>> list(stepic.encode_imdata([(1, 2, 3), (4, 5, 6), (7, 8, 9), (10, 11, 12)], 'a')) [(0, 3, 3), (4, 4, 6), (6, 9, 9)] >>> ''.join(stepic.decode_imdata([(0, 3, 3), (4, 4, 6), (6, 9, 9)])) 'a'
Steganographer class is deprecated. Just use the functions; no classes are needed. It's still there, but it will be removed eventually.
Stepic 0.3 can be downloaded from its project page.