Skip to content

winny-/s2png-yotsuba-edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2png yotsuba edition

Build Status

Why?

The upstream sources have been untouched for seven years. Its exists function made me cross. It didn't handle Unix pipes. Heck, it didn't even compile. I saw that some people from /g/ got it working, but it feels rough.

Installation

  1. Dependencies:
  1. Run make.
  2. Install using make install or manually.

Invocation

  • -h is help.
  • -v is verbose
  • -o is the file output. Use - for stdout.
  • -w sets the image width.
  • -e is encode; -d is decode.
  • -b sets the banner at the bottom of the image.
  • file can be - for stdin.

Examples

Usage:

$ s2png -h
s2png "something to png" version 0.02
usage: s2png [-h] [-v] [-o filename] [-w width (600)] [-e (default) | -d] [-b banner] file

Create s2png-yotsuba-edition.tar.xz.png:

$ s2png s2png-yotsuba-edition.tar.xz

Compress greentexts.txt using xz and create greentexts.txt.xz.png with banner ">tfw all my greentexts are not green":

$ xz -c greentexts.txt | s2png -ve -b '>tfw all my greentexts are not green' -o greentexts.txt.xz.png -
- -> greentexts.txt.xz.png
Mode:   Encode
Width:  200
Height: 8

About

s2png encapsulates files in images. This is Yotsuba edition!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published