文件名称:image2b64:将所有图像转换为markdown文件上的base64编码的字符串
文件大小:2KB
文件格式:ZIP
更新时间:2024-03-28 07:14:48
Python
image2b64 将所有图像转换为markdown'.md'文件上的base64编码的字符串。 它基本上是抓取图像标签,生成图像的base64字符串,然后用base64字符串替换图像路径,因此它易于使用/移动/博客降价文件,而不会因移动所有图像文件而烦恼。 它适用于png,jpg,jpeg和gif文件。 用法 : ./image2b64.py -f < Input_Markdown_File > 带输出文件名 ./image2b64.py -f < Input_Markdown_File > -o < Output> 例子 : ./image2b64.py -f README.md [+] Encodeed Images : bsp1_1.png bsp1_2.png bsp1_3.png [+] Data written into : En
【文件预览】:
image2b64-main
----LICENSE(1KB)
----README.md(841B)
----image2b64.py(2KB)