Call format:
Encoding:
b64.exe [ /I ] [ /W ] input-file_1 [ output-file_1 ]
Decoding:
b64.exe /D input-file_2 [ output-file_2 ]
- input-file_1
- File path for encoding
- output-file_1
- The file path in BASE64 format.
By default, an input file with the addition of .b64 (input-file_1.b64) is accepted.
- /I
- If the input file has the extension gif, jpg, jpeg, apng, png, ico, webp, tiff или bmp, then «DATA:URL» is added to the beginning of the output file
data:image/x..x;base64,
x..x is the input file extension.
- /W
- The output file is formed by lines of 76 characters. Lines end with "\ x0D \ x0A". "\x0D\x0A".
- input-file_2
- The file path in BASE64 format.
If the file has the b64 extension, you can omit the /D switch.
- output-file_2
- The path to the decoded file.
By default, an input file without the .b64 extension or with the .dec extension is accepted.
Parameters (/W, /I, /D) are not case sensitive. Instead of the «/» character, you can use «-».