GitHub - LeetCode-OpenSource/image-trick: Hide some messages into a image | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

LeetCode-OpenSource/image-trick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-trick

Hide some messages into a image

➜  image-trick git:(master) ✗ yarn start -h
yarn run v1.12.0
$ node src/index.js -h
Usage: index [options]

Options:
  -V, --version        output the version number
  -i, --image <image>  set source image, e.g. https://abc.com/d.jpg
  -t, --text <text>    set shown text
  -s, --spliter <s>    set spliter
  -c, --codec <c>      set codec, default: "hex,base64", accept: [hex, base64, jwt] e.g. "hex,jwt"
  -H, --height <h>     set height, e.g. 40 or 50%, and width will be computed to keep aspect ratio
  -h, --help           output usage information

Generate a ascii image containing encoded messages:

$ yarn start -H 20 --text hohoho --codec hex,base64

Used args:
--------------------
- image: https://upload.wikimedia.org/wikipedia/commons/d/d9/Edsger_Wybe_Dijkstra.jpg
- text: hohoho
- spliter: //////
- codec: hex,base64
--------------------

----------------
code: Njg2ZjY4NmY2ODZm
decoded: hohoho
----------------

fetching and generating...

generated file

About

Hide some messages into a image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.