Skip to content

Navigation Menu

Sign up
msoundPublic

About

Encodes/Decodes images to/from base64 format

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

base64img

Encodes/Decodes images to/from base64 format

Usage

base64img action filename
action can be either encode or decode
filename, in case of encode, is a jpg/png image file
filename, in case of decode, is a text file containing "data:image/png;base64,..."
Output is written to stdout

Example 1 : Decoding

$ base64img decode examples/redsquare.txt > examples/redsquare.png

Example 2: Encoding

$ base64img encode examples/redsquare.png

Output:

data:image/png;base64,iVBORw0K...

About

Encodes/Decodes images to/from base64 format

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /