将图像转换为base64以进行降价或其他目的https://github.com/Arryboom/img2base64 将网页上的图像转换为base64以进行降价或其他目的通过右键单击图像来获取图像的base64编码字符串。 https://github.com/Arryboom/img2base64安装完成后,右键单击图像时,将显示一个名为“ Image2Base64”的上下文菜单,将光标移到其上方,您将在此处看到三个子菜单项:1.“获取RAW Base64” 2.“获取MarkdownBase64参考RES” 3.“获取MarkdownBase64图像对象” ========================= ================================================== ================获取RAW Base64 =====会将此图像转换为base64 str并复制到剪贴板,例如:“ data:image / png; base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8 / 9hAAAB0klEQVQ4T2NkoBAwUqifAW7Au /// + YUYGT + iGwgSn3 / 8XuKnX78E5fi57yc byi0AiYHUgdTDDfBfeXajn5roepACZEP0Zx2 + cPEXpz4DEwsDw ++ fDA78fw / C // RD scFOpSnRQG4e3AD7bY9PHbz9zDRBnm1Bn79BAcj080 / eGxge + HKegYMbYebXjwz 83JxfDjlw ++ uL8O6DGzDv9ue6pIu / GXK + vGIQeP / ofYCq6EY + Hq6vkz6IZqN7a505d2 WgDNsURkbGLwgXrLl29CCDhBVY8d8 / DAyf30FoYSmMcP4fLCjKyMj4BiQBN + DC2 59h9oe / zv34h4EHX8wY8DPfueDKrwpTAzfg //// PA1Xv06ecOdXCD5D5umzNiWp8t ZjGAAS2P / 0c3jB5d8tF78wqGBzBcj28y58toyMjC + wGvD / / 3 / + C + 9 / ETDE / 5Wx4flvW 2RDQJr3O / ClCLIyHkQWB3sBlDCKNl6YsOHGc / 8PjOyCDGJyDAy8wnB18fJs2ycYc HcKsDAcYWRk / IthwP /// 5kZGBhUL3z4bbHh6W9HmAJ5buYXjiIs5xR4mC8yMDDcR teMEgsgDiggGRgYEFYzMPxkYGB4z8jICKKxAuplJnJzJQAnp6sR4OxNBQAAAABJR U5ErkJggg ==” ====================== ================================================== =====================获取MarkdownBase64参考RES =====会将此图像转换为markdown参考资源的base64 str,并复制到剪贴板,例如: 00FDD5C0-F3BB-13C9-4FE4-4E5812508F66]:数据:图像/ PNG; BASE64,iVBOR w0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8 / 9hAAAB0klEQVQ4T2NkoBAwUqifAW7Aü/// + YUYGT + iGwgSn3 / 8XuKnX78E5fi57ycbyi0AiYHUgdTDDfBfeXajn5roepACZEP 0Zx2 + cPEXpz4DEwsDw ++ fDA78fw / C // RDscFOpSnRQG4e3AD7bY9PHbz9zDRBnm1Bn7 9BAcj080 / eGxge + HKegYMbYebXjwz83JxfDjlw + + uL8O6DGzDv9ue6pIu / GXK + vGIQe P / ofYCq6EY + Hq6vkz6IZqN7a505d2WgDNsURkbGLwgXrLl29CCDhBVY8d8 / DAyf30Fo YSmMcP4fLCjKyMj4BiQBN + DC259h9oe / zv34h4EHX8wY8DPfueDKrwpTAzfg //// PA1 Xv06ecOdXCD5D5umzNiWp8tZjGAAS2P / 0c3jB5d8tF78wqGBzBcj28y58to yMjC + WGV d // 3 / + C + 9 / ETDE